Skip to content

Commit 9df838f

Browse files
committed
rebranding
1 parent 93cbb7d commit 9df838f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+1824
-1825
lines changed

LICENSE

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
MIT License
22

3-
Copyright (c) 2020-present sms77 e.K.
3+
Copyright (c) 2020-2022 sms77 e.K.
4+
Copyright (c) 2023-present seven communications GmbH & Co. KG
45

56
Permission is hereby granted, free of charge, to any person obtaining a copy
67
of this software and associated documentation files (the "Software"), to deal

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -5,34 +5,34 @@ This gem requires Ruby >= 2.6.0.
55

66
## Installation
77

8-
```gem install sms77```
8+
```gem install seven_api```
99

1010
### Usage
1111

1212
#### Retrieve balance
1313

1414
```ruby
15-
require 'sms77/client'
15+
require 'seven_api/client'
1616

17-
api_key = ENV['SMS77_API_KEY']
17+
api_key = ENV['SEVEN_API_KEY']
1818
# retrieve balance
19-
puts Sms77::Resources::Balance.new(api_key).retrieve
19+
puts SevenApi::Resources::Balance.new(api_key).retrieve
2020

2121
# send SMS
22-
puts Sms77::Resources::Sms.new(api_key).retrieve
22+
puts SevenApi::Resources::Sms.new(api_key).retrieve
2323
```
2424

2525
#### Testing
2626

2727
```shell
28-
SMS77_API_KEY=MySms77ApiKey bundle exec rspec
28+
SEVEN_API_KEY=MySevenApiKey bundle exec rspec
2929
```
3030

3131
*Optional environment variables*
3232

33-
Setting ```SMS77_DEBUG=1``` prints details to stdout.
33+
Setting ```SEVEN_DEBUG=1``` prints details to stdout.
3434

35-
Setting ```SMS77_TEST_HTTP=1``` enables live testing with actual API requests.
35+
Setting ```SEVEN_TEST_HTTP=1``` enables live testing with actual API requests.
3636

3737
##### Support
3838

doc/Sms77.html renamed to doc/SevenApi.html

+13-13
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>
7-
Module: Sms77
7+
Module: SevenApi
88

9-
&mdash; Documentation by YARD 0.9.27
9+
&mdash; Documentation by YARD 0.9.34
1010

1111
</title>
1212

@@ -15,7 +15,7 @@
1515
<link rel="stylesheet" href="css/common.css" type="text/css" />
1616

1717
<script type="text/javascript">
18-
pathId = "Sms77";
18+
pathId = "SevenApi";
1919
relpath = '';
2020
</script>
2121

@@ -39,7 +39,7 @@
3939
<a href="_index.html">Index (S)</a> &raquo;
4040

4141

42-
<span class="title">Sms77</span>
42+
<span class="title">SevenApi</span>
4343

4444
</div>
4545

@@ -59,7 +59,7 @@
5959
<div class="clear"></div>
6060
</div>
6161

62-
<div id="content"><h1>Module: Sms77
62+
<div id="content"><h1>Module: SevenApi
6363

6464

6565

@@ -78,8 +78,8 @@
7878

7979
<dl>
8080
<dt>Defined in:</dt>
81-
<dd>lib/sms77/resource.rb<span class="defines">,<br />
82-
lib/sms77.rb,<br /> lib/sms77/client.rb,<br /> lib/sms77/version.rb</span>
81+
<dd>lib/seven_api/resource.rb<span class="defines">,<br />
82+
lib/seven_api.rb,<br /> lib/seven_api/client.rb,<br /> lib/seven_api/version.rb</span>
8383
</dd>
8484
</dl>
8585

@@ -100,11 +100,11 @@ <h2>Overview</h2><div class="docstring">
100100
<p class="children">
101101

102102

103-
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Sms77/Contacts.html" title="Sms77::Contacts (module)">Contacts</a></span>, <span class='object_link'><a href="Sms77/Endpoint.html" title="Sms77::Endpoint (module)">Endpoint</a></span>, <span class='object_link'><a href="Sms77/Hooks.html" title="Sms77::Hooks (module)">Hooks</a></span>, <span class='object_link'><a href="Sms77/Journal.html" title="Sms77::Journal (module)">Journal</a></span>, <span class='object_link'><a href="Sms77/Lookup.html" title="Sms77::Lookup (module)">Lookup</a></span>, <span class='object_link'><a href="Sms77/Resources.html" title="Sms77::Resources (module)">Resources</a></span>, <span class='object_link'><a href="Sms77/Sms.html" title="Sms77::Sms (module)">Sms</a></span>, <span class='object_link'><a href="Sms77/Subaccounts.html" title="Sms77::Subaccounts (module)">Subaccounts</a></span>, <span class='object_link'><a href="Sms77/Util.html" title="Sms77::Util (module)">Util</a></span>
103+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="SevenApi/Contacts.html" title="SevenApi::Contacts (module)">Contacts</a></span>, <span class='object_link'><a href="SevenApi/Endpoint.html" title="SevenApi::Endpoint (module)">Endpoint</a></span>, <span class='object_link'><a href="SevenApi/Hooks.html" title="SevenApi::Hooks (module)">Hooks</a></span>, <span class='object_link'><a href="SevenApi/Journal.html" title="SevenApi::Journal (module)">Journal</a></span>, <span class='object_link'><a href="SevenApi/Lookup.html" title="SevenApi::Lookup (module)">Lookup</a></span>, <span class='object_link'><a href="SevenApi/Resources.html" title="SevenApi::Resources (module)">Resources</a></span>, <span class='object_link'><a href="SevenApi/Sms.html" title="SevenApi::Sms (module)">Sms</a></span>, <span class='object_link'><a href="SevenApi/Subaccounts.html" title="SevenApi::Subaccounts (module)">Subaccounts</a></span>, <span class='object_link'><a href="SevenApi/Util.html" title="SevenApi::Util (module)">Util</a></span>
104104

105105

106106

107-
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Sms77/Client.html" title="Sms77::Client (class)">Client</a></span>, <span class='object_link'><a href="Sms77/Resource.html" title="Sms77::Resource (class)">Resource</a></span>
107+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="SevenApi/Client.html" title="SevenApi::Client (class)">Client</a></span>, <span class='object_link'><a href="SevenApi/Resource.html" title="SevenApi::Resource (class)">Resource</a></span>
108108

109109

110110
</p>
@@ -120,7 +120,7 @@ <h2>
120120
<dt id="VERSION-constant" class="">VERSION =
121121

122122
</dt>
123-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>0.4.0</span><span class='tstring_end'>&#39;</span></span></pre></dd>
123+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>0.5.0</span><span class='tstring_end'>&#39;</span></span></pre></dd>
124124

125125
</dl>
126126

@@ -136,9 +136,9 @@ <h2>
136136
</div>
137137

138138
<div id="footer">
139-
Generated on Wed Mar 30 13:55:36 2022 by
140-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
141-
0.9.27 (ruby-2.7.4).
139+
Generated on Fri Aug 25 14:18:45 2023 by
140+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
141+
0.9.34 (ruby-3.2.2).
142142
</div>
143143

144144
</div>

doc/Sms77/Client.html renamed to doc/SevenApi/Client.html

+14-14
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>
7-
Class: Sms77::Client
7+
Class: SevenApi::Client
88

9-
&mdash; Documentation by YARD 0.9.27
9+
&mdash; Documentation by YARD 0.9.34
1010

1111
</title>
1212

@@ -15,7 +15,7 @@
1515
<link rel="stylesheet" href="../css/common.css" type="text/css" />
1616

1717
<script type="text/javascript">
18-
pathId = "Sms77::Client";
18+
pathId = "SevenApi::Client";
1919
relpath = '../';
2020
</script>
2121

@@ -37,7 +37,7 @@
3737
<div id="menu">
3838

3939
<a href="../_index.html">Index (C)</a> &raquo;
40-
<span class='title'><span class='object_link'><a href="../Sms77.html" title="Sms77 (module)">Sms77</a></span></span>
40+
<span class='title'><span class='object_link'><a href="../SevenApi.html" title="SevenApi (module)">SevenApi</a></span></span>
4141
&raquo;
4242
<span class="title">Client</span>
4343

@@ -59,7 +59,7 @@
5959
<div class="clear"></div>
6060
</div>
6161

62-
<div id="content"><h1>Class: Sms77::Client
62+
<div id="content"><h1>Class: SevenApi::Client
6363

6464

6565

@@ -74,7 +74,7 @@
7474
<ul class="fullTree">
7575
<li>Object</li>
7676

77-
<li class="next">Sms77::Client</li>
77+
<li class="next">SevenApi::Client</li>
7878

7979
</ul>
8080
<a href="#" class="inheritanceTree">show all</a>
@@ -94,7 +94,7 @@
9494

9595
<dl>
9696
<dt>Defined in:</dt>
97-
<dd>lib/sms77/client.rb</dd>
97+
<dd>lib/seven_api/client.rb</dd>
9898
</dl>
9999

100100
</div>
@@ -149,7 +149,7 @@ <h2>Constructor Details</h2>
149149
<div class="method_details first">
150150
<h3 class="signature first" id="initialize-instance_method">
151151

152-
#<strong>initialize</strong>(resource) &#x21d2; <tt><span class='object_link'><a href="" title="Sms77::Client (class)">Client</a></span></tt>
152+
#<strong>initialize</strong>(resource) &#x21d2; <tt><span class='object_link'><a href="" title="SevenApi::Client (class)">Client</a></span></tt>
153153

154154

155155

@@ -172,7 +172,7 @@ <h3 class="signature first" id="initialize-instance_method">
172172
<span class='name'>resource</span>
173173

174174

175-
<span class='type'>(<tt><span class='object_link'><a href="Resource.html" title="Sms77::Resource (class)">Sms77::Resource</a></span></tt>)</span>
175+
<span class='type'>(<tt><span class='object_link'><a href="Resource.html" title="SevenApi::Resource (class)">SevenApi::Resource</a></span></tt>)</span>
176176

177177

178178

@@ -198,10 +198,10 @@ <h3 class="signature first" id="initialize-instance_method">
198198
28</pre>
199199
</td>
200200
<td>
201-
<pre class="code"><span class="info file"># File 'lib/sms77/client.rb', line 20</span>
201+
<pre class="code"><span class="info file"># File 'lib/seven_api/client.rb', line 20</span>
202202

203203
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_resource'>resource</span><span class='rparen'>)</span>
204-
<span class='const'><span class='object_link'><a href="../Sms77.html" title="Sms77 (module)">Sms77</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Util.html" title="Sms77::Util (module)">Util</a></span></span><span class='op'>::</span><span class='id identifier rubyid_get_namespace_classes'><span class='object_link'><a href="Util.html#get_namespace_classes-class_method" title="Sms77::Util.get_namespace_classes (method)">get_namespace_classes</a></span></span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="../Sms77.html" title="Sms77 (module)">Sms77</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Resources.html" title="Sms77::Resources (module)">Resources</a></span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_cls'>cls</span><span class='op'>|</span>
204+
<span class='const'><span class='object_link'><a href="../SevenApi.html" title="SevenApi (module)">SevenApi</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Util.html" title="SevenApi::Util (module)">Util</a></span></span><span class='op'>::</span><span class='id identifier rubyid_get_namespace_classes'><span class='object_link'><a href="Util.html#get_namespace_classes-class_method" title="SevenApi::Util.get_namespace_classes (method)">get_namespace_classes</a></span></span><span class='lparen'>(</span><span class='const'><span class='object_link'><a href="../SevenApi.html" title="SevenApi (module)">SevenApi</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="Resources.html" title="SevenApi::Resources (module)">Resources</a></span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_cls'>cls</span><span class='op'>|</span>
205205
<span class='id identifier rubyid_name'>name</span> <span class='op'>=</span> <span class='id identifier rubyid_cls'>cls</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>::</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_last'>last</span>
206206

207207
<span class='id identifier rubyid_instance_variable_set'>instance_variable_set</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>@</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_name'>name</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_cls'>cls</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_resource'>resource</span><span class='rparen'>)</span><span class='rparen'>)</span>
@@ -220,9 +220,9 @@ <h3 class="signature first" id="initialize-instance_method">
220220
</div>
221221

222222
<div id="footer">
223-
Generated on Wed Mar 30 13:55:36 2022 by
224-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
225-
0.9.27 (ruby-2.7.4).
223+
Generated on Fri Aug 25 14:18:46 2023 by
224+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
225+
0.9.34 (ruby-3.2.2).
226226
</div>
227227

228228
</div>

doc/Sms77/Contacts.html renamed to doc/SevenApi/Contacts.html

+10-10
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>
7-
Module: Sms77::Contacts
7+
Module: SevenApi::Contacts
88

9-
&mdash; Documentation by YARD 0.9.27
9+
&mdash; Documentation by YARD 0.9.34
1010

1111
</title>
1212

@@ -15,7 +15,7 @@
1515
<link rel="stylesheet" href="../css/common.css" type="text/css" />
1616

1717
<script type="text/javascript">
18-
pathId = "Sms77::Contacts";
18+
pathId = "SevenApi::Contacts";
1919
relpath = '../';
2020
</script>
2121

@@ -37,7 +37,7 @@
3737
<div id="menu">
3838

3939
<a href="../_index.html">Index (C)</a> &raquo;
40-
<span class='title'><span class='object_link'><a href="../Sms77.html" title="Sms77 (module)">Sms77</a></span></span>
40+
<span class='title'><span class='object_link'><a href="../SevenApi.html" title="SevenApi (module)">SevenApi</a></span></span>
4141
&raquo;
4242
<span class="title">Contacts</span>
4343

@@ -59,7 +59,7 @@
5959
<div class="clear"></div>
6060
</div>
6161

62-
<div id="content"><h1>Module: Sms77::Contacts
62+
<div id="content"><h1>Module: SevenApi::Contacts
6363

6464

6565

@@ -78,7 +78,7 @@
7878

7979
<dl>
8080
<dt>Defined in:</dt>
81-
<dd>lib/sms77/contacts.rb</dd>
81+
<dd>lib/seven_api/contacts.rb</dd>
8282
</dl>
8383

8484
</div>
@@ -98,7 +98,7 @@ <h2>Overview</h2><div class="docstring">
9898
<p class="children">
9999

100100

101-
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Contacts/Action.html" title="Sms77::Contacts::Action (module)">Action</a></span>
101+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Contacts/Action.html" title="SevenApi::Contacts::Action (module)">Action</a></span>
102102

103103

104104

@@ -116,9 +116,9 @@ <h2>Overview</h2><div class="docstring">
116116
</div>
117117

118118
<div id="footer">
119-
Generated on Wed Mar 30 13:55:36 2022 by
120-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
121-
0.9.27 (ruby-2.7.4).
119+
Generated on Fri Aug 25 14:18:46 2023 by
120+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
121+
0.9.34 (ruby-3.2.2).
122122
</div>
123123

124124
</div>

doc/Sms77/Contacts/Action.html renamed to doc/SevenApi/Contacts/Action.html

+9-9
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>
7-
Module: Sms77::Contacts::Action
7+
Module: SevenApi::Contacts::Action
88

9-
&mdash; Documentation by YARD 0.9.27
9+
&mdash; Documentation by YARD 0.9.34
1010

1111
</title>
1212

@@ -15,7 +15,7 @@
1515
<link rel="stylesheet" href="../../css/common.css" type="text/css" />
1616

1717
<script type="text/javascript">
18-
pathId = "Sms77::Contacts::Action";
18+
pathId = "SevenApi::Contacts::Action";
1919
relpath = '../../';
2020
</script>
2121

@@ -37,7 +37,7 @@
3737
<div id="menu">
3838

3939
<a href="../../_index.html">Index (A)</a> &raquo;
40-
<span class='title'><span class='object_link'><a href="../../Sms77.html" title="Sms77 (module)">Sms77</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Contacts.html" title="Sms77::Contacts (module)">Contacts</a></span></span>
40+
<span class='title'><span class='object_link'><a href="../../SevenApi.html" title="SevenApi (module)">SevenApi</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Contacts.html" title="SevenApi::Contacts (module)">Contacts</a></span></span>
4141
&raquo;
4242
<span class="title">Action</span>
4343

@@ -59,7 +59,7 @@
5959
<div class="clear"></div>
6060
</div>
6161

62-
<div id="content"><h1>Module: Sms77::Contacts::Action
62+
<div id="content"><h1>Module: SevenApi::Contacts::Action
6363

6464

6565

@@ -78,7 +78,7 @@
7878

7979
<dl>
8080
<dt>Defined in:</dt>
81-
<dd>lib/sms77/contacts.rb</dd>
81+
<dd>lib/seven_api/contacts.rb</dd>
8282
</dl>
8383

8484
</div>
@@ -121,9 +121,9 @@ <h2>
121121
</div>
122122

123123
<div id="footer">
124-
Generated on Wed Mar 30 13:55:36 2022 by
125-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
126-
0.9.27 (ruby-2.7.4).
124+
Generated on Fri Aug 25 14:18:46 2023 by
125+
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
126+
0.9.34 (ruby-3.2.2).
127127
</div>
128128

129129
</div>

0 commit comments

Comments
 (0)