Sha256: bd9b8ac0fc3ae90e6c6a33f04124545182ce0c269fa689193b34c977810c3551
Contents?: true
Size: 1.33 KB
Versions: 5
Compression:
Stored size: 1.33 KB
Contents
module GoTransverseTractApi module Order class People def self.find_all GoTransverseTractApi.get_response_for(self) end # # @param {Long} eid # def self.find_by_eid eid GoTransverseTractApi.get_response_for(self, {eid: eid}) end # # @param {String} first_name # def self.find_by_first_name first_name GoTransverseTractApi.get_response_for(self, {first_name: first_name}) end # # @param {String} last_name # def self.find_by_last_name last_name GoTransverseTractApi.get_response_for(self, {last_name: last_name}) end # # @param {Long} billing_account_eid # def self.find_by_billing_account_eid billing_account_eid GoTransverseTractApi.get_response_for(self, {billing_account_eid: billing_account_eid}) end # # @param {Long} eid # @param {Nokogiri::XML::Document} people # def self.update eid, people GoTransverseTractApi.put_response_for(self, {eid: eid}, people.to_s) end # # @param {Long} eid # @param {Nokogiri::XML::Document} address # def self.add_address eid, address GoTransverseTractApi.post_response_for(self, {eid: eid}, address.to_s, "addAddress") end end end end
Version data entries
5 entries across 5 versions & 1 rubygems