sms77 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fe2489e8f42e261bf888d5d5d86805caba5e7a293dae1020399069b37ba26e2a
4
- data.tar.gz: cbb1faa8e91e0c29df20fa27ed31c8baa8a8655582fa180b64d45b24b27545a1
3
+ metadata.gz: 3620fb062cfa005c5da38bc6322048a6525d7aeb25b9f1be3f2c5995fbfc5f3a
4
+ data.tar.gz: 7411562537013fd906485c59278e03541c558f96f7207e1e931335952be1530b
5
5
  SHA512:
6
- metadata.gz: f0db040721b53efa7b02a8dc48af77d7ca6d43f0e5a8f0cdbae8700fef7abd856dd52fa149d68f3e61740a25761b37336274d0f65b3fa7d82071814be65cd824
7
- data.tar.gz: b22a80577d8b440de469a221f6013bf3fff1daa7ca9f3a8f8df9e9e59f7cfe94aef6ab79bf76c07b0cff800315acd1ac9c91e0b3f1f62a6dd29f01478cb85756
6
+ metadata.gz: 340cfd8ccb98a99d7458efd11d2172e31330147c515e63af019af9c0a5f731c92dd983673accbd1083df1547720bba9a4c258a91df074bd89f390a42141dc95b
7
+ data.tar.gz: 205dad2eb5dd22f48982077dfd6f3dc9849cf31bdd721fc747f07199c2468f2c04543bf7f60184d46bae70c63d1fa9726998114d75e22c511f5624e9d067b7c6
data/.gitignore CHANGED
@@ -1,4 +1,4 @@
1
1
  /.idea
2
- sms77.gem
2
+ *.gem
3
3
  Gemfile.lock
4
4
  .ruby-gemset
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- ![](https://www.sms77.io/wp-content/uploads/2019/07/sms77-Logo-400x79.png "Sms77.io Logo")
1
+ ![Sms77.io Logo](https://www.sms77.io/wp-content/uploads/2019/07/sms77-Logo-400x79.png "Sms77.io Logo")
2
2
 
3
- # Sms77.io SMS Gateway API Client
3
+ # Ruby Client for the Sms77.io SMS Gateway API
4
4
 
5
5
  ## Installation
6
6
 
@@ -9,7 +9,9 @@
9
9
  ### Usage
10
10
 
11
11
  ```ruby
12
- client = Sms77::Client.new(api_key: ENV['SMS77_API_KEY'])
13
- balance = client.get(url: '/api/balance')
14
- puts balance.inspect
12
+ require 'sms77'
13
+
14
+ client = Sms77::Client.new(ENV['SMS77_API_KEY'], Faraday.new(Sms77::Client::BASE_URI))
15
+
16
+ puts "Balance: #{client.balance.body}"
15
17
  ```
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sms77
4
- VERSION = '0.0.1'
4
+ VERSION = '0.0.2'
5
5
  end
@@ -6,7 +6,7 @@ require 'sms77/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'sms77'
8
8
  spec.version = Sms77::VERSION.dup
9
- spec.summary = 'Official Sms77.io API Client for Ruby'
9
+ spec.summary = 'Official API Client for the Sms77.io SMS Gateway'
10
10
  spec.description = 'Send SMS & Text2Voice messages via the Sms77.io SMS Gateway.'
11
11
  spec.authors = ['sms77 e.K.']
12
12
  spec.email = ['support@sms77.io']
@@ -22,4 +22,4 @@ Gem::Specification.new do |spec|
22
22
  spec.add_development_dependency 'bundler', '~> 2.1'
23
23
  spec.add_development_dependency 'rake', '~> 13'
24
24
  spec.add_development_dependency 'rspec', '~> 3.0'
25
- end
25
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sms77
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - sms77 e.K.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-05 00:00:00.000000000 Z
11
+ date: 2020-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -115,8 +115,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0'
117
117
  requirements: []
118
- rubygems_version: 3.1.2
118
+ rubygems_version: 3.0.8
119
119
  signing_key:
120
120
  specification_version: 4
121
- summary: Official Sms77.io API Client for Ruby
121
+ summary: Official API Client for the Sms77.io SMS Gateway
122
122
  test_files: []