bandwidth-sdk 1.0.0 → 1.0.1
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 +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a08fba9df25add3682d001d09a80cc04b5c0565488a4526f06e4bc528dab5492
|
4
|
+
data.tar.gz: 97299422f725aaf94f9d82c63dd042602f310c065f0b21742f5264bf2862fb4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f54a8299f7ccfe91e5085898e5bc857778fccb2700bd8b62f5b18f8a1abad277683a708d18b77e39c4960a80664b4908ebf0b33d70699188b17d47f1c0b955f3
|
7
|
+
data.tar.gz: c5cf922c1d5df2617d98d0efa00084104c27c2edc6a75b0db9d35097aa2ba658e5a78e8645e53900ccd8c264391a98b78118a11d66f475f199d0d07f6a54a9d3
|
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.
|
19
|
+
3. Run the install command: `gem install bandwidth-1.0.1.gem`
|
20
20
|
|
21
|
-
![Installing Gem](https://apidocs.io/illustration/ruby?workspaceFolder=Bandwidth&gemVer=1.0.
|
21
|
+
![Installing Gem](https://apidocs.io/illustration/ruby?workspaceFolder=Bandwidth&gemVer=1.0.1&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.
|
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.1'`
|
44
44
|
|
45
|
-
![Add new reference to the Gemfile](https://apidocs.io/illustration/ruby?workspaceFolder=Bandwidth&gemVer=1.0.
|
45
|
+
![Add new reference to the Gemfile](https://apidocs.io/illustration/ruby?workspaceFolder=Bandwidth&gemVer=1.0.1&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.
|
51
|
+
![Run Rails Generator on Controllers Folder](https://apidocs.io/illustration/ruby?workspaceFolder=Bandwidth&gemVer=1.0.1&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.
|
59
|
+
![Add a new Controller](https://apidocs.io/illustration/ruby?workspaceFolder=Bandwidth&gemVer=1.0.1&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.
|
4
|
+
version: 1.0.1
|
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-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logging
|
@@ -163,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
163
163
|
- !ruby/object:Gem::Version
|
164
164
|
version: '0'
|
165
165
|
requirements: []
|
166
|
-
rubygems_version: 3.0.
|
166
|
+
rubygems_version: 3.0.3
|
167
167
|
signing_key:
|
168
168
|
specification_version: 4
|
169
169
|
summary: bandwidth
|