soap-object 0.5 → 0.5.1

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: e4c681942685d461dd8d91e34fa586854e517342
4
- data.tar.gz: 6c6cc34fd8d89f41e6e748d96981de24f352fee1
3
+ metadata.gz: 03f58e3377a4f90888bd9a45aad875f311458870
4
+ data.tar.gz: 062913fc81874efe56708bf3e3e6648c1b2b5b0b
5
5
  SHA512:
6
- metadata.gz: 368669696bd18d36c388f40cf76f7bd3722f0a8e7d9069113318522b9667f3f016f80b022c5a0740e6f8f4c0b1a83e9def1be3e78181fd16f6c56087fbd0c5e9
7
- data.tar.gz: e134f7470d09e0eb18b5d1bdea1e535aa57ed0552d333fa9de2c7c00aae6086489751941d7f6279dbf4f4ec694ca91658c03f881b1f57f57e089e4ea0f911475
6
+ metadata.gz: d1065511c3a5543f6347ed07b5aefa6da48e0828013be197fcc0672089255bf4f9ef71e235a3438784cc47f19dc66720953ebb952254f502725f1c783610b30d
7
+ data.tar.gz: 1539e11020c58f7fbffa9e2b69723aae14cb9c69762a21da3f6f8e69539718f0627d8334e1415cbb8c309fc80ef40ddf0fa235960d82645b4d8f75d8ca111b9b
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ === Version 0.5.1 / 2013-6-1
2
+ * Enhancements
3
+ * Added body method to return the body of the result as a Hash
4
+
1
5
  === Version 0.5 / 2013-6-1
2
6
  * Enhancements
3
7
  * Removed the body accessor
@@ -23,7 +23,7 @@ class TestServiceWithWsdl
23
23
  private
24
24
 
25
25
  def message
26
- response.body[:get_info_by_zip_response][:get_info_by_zip_result][:new_data_set][:table]
26
+ body[:get_info_by_zip_response][:get_info_by_zip_result][:new_data_set][:table]
27
27
  end
28
28
  end
29
29
 
data/lib/soap-object.rb CHANGED
@@ -73,6 +73,13 @@ module SoapObject
73
73
  response.hash
74
74
  end
75
75
 
76
+ #
77
+ # Return the body of the message as a Hash
78
+ #
79
+ def body
80
+ response.body
81
+ end
82
+
76
83
  #
77
84
  # Return the response as a Nokogiri document
78
85
  #
@@ -1,5 +1,5 @@
1
1
  module Soap
2
2
  module Object
3
- VERSION = "0.5"
3
+ VERSION = "0.5.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soap-object
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.5'
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeffrey S. Morgan