lib/gotransverse-tract-api/order/organization.rb in gotransverse-tract-api-0.1.12 vs lib/gotransverse-tract-api/order/organization.rb in gotransverse-tract-api-0.2.0
- old
+ new
@@ -29,21 +29,21 @@
GoTransverseTractApi.get_response_for(self, {billing_account_eid: billing_account_eid})
end
#
# @param {Long} eid
- # @param {Nokogiri::XML::Document} address
+ # @param {Hash} address
#
def self.add_address eid, address
- GoTransverseTractApi.post_request_for(self, {eid: eid}, address.to_s, "addAddress")
+ GoTransverseTractApi.post_request_for(self, {eid: eid}, address, "addAddress")
end
#
# @param {Long} eid
- # @param {Nokogiri::XML::Document} organization
+ # @param {Hash} organization
#
def self.update eid, organization
- GoTransverseTractApi.put_request_for(self, {eid: eid}, organization.to_s)
+ GoTransverseTractApi.put_request_for(self, {eid: eid}, organization)
end
end
end