muthofun_api 0.1.2 → 0.1.3

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: 7f5b070a3efacdef1092f42cc7df8de2ef299188
4
- data.tar.gz: c494dc0a6f79f6271bb89bbea7b622384fd5b70e
3
+ metadata.gz: 3d86e812387dd5721afc82acd134bc02974e38a5
4
+ data.tar.gz: f8ec535f803fe353be9b9ac35b25f0931974ff11
5
5
  SHA512:
6
- metadata.gz: 391bfa858520603bb9793de24042c89bcddbdcb1fca4bc5ddfd2e38ba09e55e9ed5b74f906b1b9812a1f4541a521c9efb1dbdf0b6109ba85731a53e0189d1af1
7
- data.tar.gz: 7269a72466ee88a64c8f8529add602051173372209751695659cde6dec3323ac642282c3c67ce37415b9fd3887b71bcd66a7661e7fd7490b77b577339648acbd
6
+ metadata.gz: 7f689946458d0896bc6dc835912009523c6c335d102ee6d95b1a67742c0c7f56a90a238e0837470be4dbd44ac6a31fafc47119d0c13a2158cf5bf2a5b42f8e10
7
+ data.tar.gz: 769b8277cdc422b3416a34b45d40e0c474362facb649ee81eb7f398d5d863565722dc04cea2925b75a24373575cc5422a3ee341341b4a68f9287f742e1fc2d90
data/.gitignore CHANGED
@@ -6,3 +6,4 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+ /.idea
data/README.md CHANGED
@@ -56,6 +56,7 @@ But if you want to do something when sms is sent successfully you can use a bloc
56
56
 
57
57
  ```ruby
58
58
  a = MuthofunApi::SmsAccount.send_sms('8801766678130', 'Hello Bidhu from Irfan') do |result|
59
+ # Only executes when sending sms is successful!
59
60
  pp result.output
60
61
  pp result.success?
61
62
  pp result.failed?
@@ -11,8 +11,6 @@ module MuthofunApi
11
11
 
12
12
  yield(@result) if block_given? && @result.success?
13
13
 
14
- pp @result
15
-
16
14
  @result
17
15
 
18
16
  rescue => e
@@ -35,7 +33,6 @@ module MuthofunApi
35
33
  req.params['password'] = MuthofunApi.configuration.secret_key
36
34
  req.params['unicode'] = 1
37
35
  req.params.merge!(params)
38
- pp req.params
39
36
  end
40
37
 
41
38
  @response = response.body.gsub(/[\r\n\t]+/m, "").strip
@@ -1,3 +1,3 @@
1
1
  module MuthofunApi
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: muthofun_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Irfan Ahmed
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-26 00:00:00.000000000 Z
11
+ date: 2017-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -102,7 +102,7 @@ files:
102
102
  - lib/muthofun_api/result.rb
103
103
  - lib/muthofun_api/sms_account.rb
104
104
  - lib/muthofun_api/version.rb
105
- - muthofun_api-0.1.0.gem
105
+ - muthofun_api-0.1.2.gem
106
106
  - muthofun_api.gemspec
107
107
  homepage: https://github.com/rubyrider/muthofun_api
108
108
  licenses:
Binary file