sms-gateway-hub 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
  SHA1:
3
- metadata.gz: d3e8006feef27b5c629b43e6967d1f48dce34b64
4
- data.tar.gz: edc90de78d1fcf48b54af2619d004811d8224a01
3
+ metadata.gz: ddfaa2198235d493a9bbab55f3f90a28ec78a005
4
+ data.tar.gz: 4f40770d3181a42484f7a8ae9f9d8c4ee7b111b5
5
5
  SHA512:
6
- metadata.gz: 1bc7e6d16f51c159944d47d8b5e09d1135b0483aeb5acfa90815dad350a31f477a836505468b593db66b12efa048394c79879901ae09318e60c2ae015c4631d9
7
- data.tar.gz: 9fcf6e9fd472f325dd12be818ea545612786234ac7c0f4b50375c328882c8884a4b568ee3a92a7234a850857f02459315768c041c0525619cf0d868253a8567d
6
+ metadata.gz: 8cc6ed971e1f33d12767819e0445ff050e07d953761a91afae0f76e776e871cfde466fd2758dbd77be5af8257fceb6bdc9faa01c0e6093bfcc395784c5fc5666
7
+ data.tar.gz: 930c0a09c6e1cc5cf8c27eaf445d075a7418d4c6f3f72dd7fca2ca7c085c77a1079ba1462df13782c262b888d8192484316494acbd474d4e05baa202c3853b04
data/lib/sms.rb CHANGED
@@ -6,7 +6,7 @@ class Sms
6
6
  base_uri 'http://login.smsgatewayhub.com/smsapi'
7
7
 
8
8
  def initialize(user, password)
9
- @options = { query: {user: user, password: password, gwid: 2 } }
9
+ @options = { query: {user: user, password: password, gwid: 2, pwd: password } }
10
10
  end
11
11
 
12
12
  def check_balance
@@ -6,7 +6,7 @@ class Sms
6
6
  base_uri 'http://login.smsgatewayhub.com/smsapi'
7
7
 
8
8
  def initialize(user, password)
9
- @options = { query: {user: user, password: password, gwid: 2 } }
9
+ @options = { query: {user: user, password: password, gwid: 2, pwd: password } }
10
10
  end
11
11
 
12
12
  def check_balance
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'sms-gateway-hub'
3
- s.version = '0.0.1'
3
+ s.version = '0.0.2'
4
4
  s.authors = ["Yajuvendra Sapna Tomar"]
5
5
  s.date = '2015-01-24'
6
6
  s.summary = "SMSEasy allows you to send text messages to a mobile recipient"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sms-gateway-hub
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
  - Yajuvendra Sapna Tomar