bandwidth-sdk 1.0.0.pre → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -6
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b8dc082574b509450999d9cb44a4d3e40f753cee05d5a1448cfd43a78b51291
|
4
|
+
data.tar.gz: ed3752548f849644ce384e6bf1fbd1700766ac734bf611e4300f104193550cc8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0416b71233ef22219d9a9068b6dfa580c2cb1cca6f242f1b5c0158ef23a767c042bf85af579b5e8b89a83f8e3b1ee960c8ce2b028b6e7d94dfacd94cb547012
|
7
|
+
data.tar.gz: c5017e99dc1d8c8c27eb90c32a8596c81f67e59b8b758b238f24d71740382d92e0987daaec00f3a8232b74b3e29fd638e5be066fafd1aea1c51c51ae56bc6b00
|
data/README.md
CHANGED
@@ -16,9 +16,9 @@ Alternatively, you can build and install the gem manually:
|
|
16
16
|
|
17
17
|
1. From terminal/cmd navigate to the root directory of the SDK.
|
18
18
|
2. Run the build command: `gem build bandwidth.gemspec`
|
19
|
-
3. Run the install command: `gem install bandwidth-1.0.0.
|
19
|
+
3. Run the install command: `gem install bandwidth-1.0.0.gem`
|
20
20
|
|
21
|
-
![Installing Gem](https://apidocs.io/illustration/ruby?workspaceFolder=Bandwidth&gemVer=1.0.0
|
21
|
+
![Installing Gem](https://apidocs.io/illustration/ruby?workspaceFolder=Bandwidth&gemVer=1.0.0&gemName=bandwidth&step=buildSDK)
|
22
22
|
|
23
23
|
## Installation
|
24
24
|
|
@@ -40,15 +40,15 @@ In the next dialog make sure that the correct Ruby SDK is being used (minimum 2.
|
|
40
40
|
|
41
41
|
### 2. Add reference of the gem
|
42
42
|
|
43
|
-
In order to use the Tester gem in the new project we must add a gem reference. Locate the `Gemfile` in the Project Explorer window under the `TestApp` project node. The file contains references to all gems being used in the project. Here, add the reference to the library gem by adding the following line: `gem 'bandwidth', '~> 1.0.0
|
43
|
+
In order to use the Tester gem in the new project we must add a gem reference. Locate the `Gemfile` in the Project Explorer window under the `TestApp` project node. The file contains references to all gems being used in the project. Here, add the reference to the library gem by adding the following line: `gem 'bandwidth', '~> 1.0.0'`
|
44
44
|
|
45
|
-
![Add new reference to the Gemfile](https://apidocs.io/illustration/ruby?workspaceFolder=Bandwidth&gemVer=1.0.0
|
45
|
+
![Add new reference to the Gemfile](https://apidocs.io/illustration/ruby?workspaceFolder=Bandwidth&gemVer=1.0.0&gemName=bandwidth&step=addReference)
|
46
46
|
|
47
47
|
### 3. Adding a new Rails Controller
|
48
48
|
|
49
49
|
Once the `TestApp` project is created, a folder named `controllers` will be visible in the *Project Explorer* under the following path: `TestApp > app > controllers`. Right click on this folder and select `New -> Run Rails Generator...`.
|
50
50
|
|
51
|
-
![Run Rails Generator on Controllers Folder](https://apidocs.io/illustration/ruby?workspaceFolder=Bandwidth&gemVer=1.0.0
|
51
|
+
![Run Rails Generator on Controllers Folder](https://apidocs.io/illustration/ruby?workspaceFolder=Bandwidth&gemVer=1.0.0&gemName=bandwidth&step=addCode0)
|
52
52
|
|
53
53
|
Selecting the said option will popup a small window where the generator names are displayed. Here, select the `controller` template.
|
54
54
|
|
@@ -56,7 +56,7 @@ Selecting the said option will popup a small window where the generator names ar
|
|
56
56
|
|
57
57
|
Next, a popup window will ask you for a Controller name and included Actions. For controller name provide `Hello` and include an action named `Index` and click `OK`.
|
58
58
|
|
59
|
-
![Add a new Controller](https://apidocs.io/illustration/ruby?workspaceFolder=Bandwidth&gemVer=1.0.0
|
59
|
+
![Add a new Controller](https://apidocs.io/illustration/ruby?workspaceFolder=Bandwidth&gemVer=1.0.0&gemName=bandwidth&step=addCode2)
|
60
60
|
|
61
61
|
A new controller class named `HelloController` will be created in a file named `hello_controller.rb` containing a method named `Index`. In this method, add code for initialization and a sample for its usage.
|
62
62
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bandwidth-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- APIMatic SDK Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-10-
|
11
|
+
date: 2019-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logging
|
@@ -159,9 +159,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
159
159
|
version: '2.0'
|
160
160
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
161
161
|
requirements:
|
162
|
-
- - "
|
162
|
+
- - ">="
|
163
163
|
- !ruby/object:Gem::Version
|
164
|
-
version:
|
164
|
+
version: '0'
|
165
165
|
requirements: []
|
166
166
|
rubygems_version: 3.0.6
|
167
167
|
signing_key:
|