mvaayoo 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d3f0368b2dddb1ade5d6395b63bf5540dbeefc4b
4
- data.tar.gz: 55532412360a5cc512e37304639a81e8c6110db9
3
+ metadata.gz: 617635f554bf9470cbc2923e3b6a50320c0d4066
4
+ data.tar.gz: 2dd5f8e9257986dd9d9f0615801e9ec606b82af5
5
5
  SHA512:
6
- metadata.gz: d975ba42d9e8f17407c2fe59f786185eb3cf193a8af37cb095d06599af1db7626503db81d27a5cd49967f63de561c0bcb746778beb335d4927b6ca515f84d7aa
7
- data.tar.gz: 428bc9d384f33856dc8fd224a3c14805f4040ac47086d1fdab0110041321a932d5cdafd05df0b53ff4365298d80845506980dd66914ed9aefe9a8345660c0b00
6
+ metadata.gz: 34ffc810cbc835d497147bb544481baf674f44bc5a81419cca5450e3c023d706f246f02e47db19172f2a06f7b90b8b2eeb0bf1fd7249cdf5e5650b5677b042ed
7
+ data.tar.gz: 10186a5f589f7ad618da048dcc3d101a31fe7969c592b3921f8203bd8eb6ecb1c1c2be48e285eba2846409ba35dd2bf2b4494ec09db3f27457d5eea2e5fcc7c3
@@ -12,14 +12,13 @@ module Mvaayoo
12
12
  http_conn '/mvaayooapi/APIUtil', ["user=#{MVAAYOO_USER}:#{MVAAYOO_PASSWORD}", "type=0"]
13
13
  end
14
14
 
15
- private
16
- # http api handler
17
- def http_conn url, params
18
- conn = Faraday.new(url: 'http://api.mVaayoo.com') do |faraday|
19
- faraday.request :url_encoded
20
- faraday.response :logger
21
- faraday.adapter Faraday.default_adapter
22
- end
23
- conn.get "#{url}?#{params.join('&')}"
15
+ # http api handler
16
+ def http_conn url, params
17
+ conn = Faraday.new(url: 'http://api.mVaayoo.com') do |faraday|
18
+ faraday.request :url_encoded
19
+ faraday.response :logger
20
+ faraday.adapter Faraday.default_adapter
24
21
  end
22
+ conn.get "#{url}?#{params.join('&')}"
23
+ end
25
24
  end
@@ -1,3 +1,3 @@
1
1
  module Mvaayoo
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mvaayoo
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
  - Pravinkumar Vaja