payture_api 0.1.1 → 0.1.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: f19c83bb78625fafb393f27d8103ef025d33b12e
4
- data.tar.gz: 870bdef0585f8a44876046b03ea3dff1a97cfe75
3
+ metadata.gz: bbe53900411dd745febfc3a52d4517fdb5ecf124
4
+ data.tar.gz: 05b0f07a17c17a670498ab8a7ab1fd0abd1f2dfd
5
5
  SHA512:
6
- metadata.gz: a11151be157571ed691a830ec50902bcaa6c4c9fa10a480a51864c04c57b3fbae772fcd50fabcfe51e014aa38c6d3f9e041a49ea9fc6472c5a7f9c18fbe820ea
7
- data.tar.gz: 49c1881840ecadbb85b64160d4066129b7f0d402a5ff8500f68317cb8556e206771b2317c60aea1376aad30d11853e9aa232d9242857ce5c5f61e58f61b84c15
6
+ metadata.gz: 4f22ecc69dcba2eeca87eb0e02cb1b59dadd99e313e3fe430c8720930a61c073cefbf4592a9285a636d81e80b884654c0f40704b0cf1b7bb936e9f563de83f38
7
+ data.tar.gz: e3490429010247d93e6af99e5b01b318dab40e08ee7410c10ebd46688751741c4e918eb0a1c40057f7fa18696cf952ffc02a3f8ab375465a81f653d0aff92ddd
data/lib/payture/api.rb CHANGED
@@ -23,7 +23,8 @@ class Payture::API
23
23
  req.body = data.to_query
24
24
  res = http.request(req)
25
25
 
26
- OpenStruct.new(Hash.from_xml(res.body).downcase_key)
26
+ # OpenStruct.new(Hash.from_xml(res.body).downcase_key)
27
+ Hash.from_xml(res.body)
27
28
  end
28
29
 
29
30
  end
@@ -1,3 +1,3 @@
1
1
  module Payture
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: payture_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kirill