Sha256: 4f459ffca27e21dbb93c10b94d3e1deba811a950f4fc9b1b1103637874846a3a
Contents?: true
Size: 1.78 KB
Versions: 10
Compression:
Stored size: 1.78 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_request_for(self, {eid: eid}, people.to_s) end # # @param {Long} eid # @param {Nokogiri::XML::Document} address # def self.add_address eid, address GoTransverseTractApi.post_request_for(self, {eid: eid}, address.to_s, "addAddress") end # # @param {Long} eid # @param {Nokogiri::XML::Document} person # def self.add_person eid, person GoTransverseTractApi.post_request_for(self, {eid: eid}, person.to_s, "addPerson") end # # @param {Long} eid # @param {Nokogiri::XML::Document} person # def self.remove_person eid, person GoTransverseTractApi.post_request_for(self, {eid: eid}, person.to_s, "removePerson") end end end end
Version data entries
10 entries across 10 versions & 1 rubygems