Sha256: d314365f89d9a85f4e1ab40def1b97d8f863530f401f614cad5e0d8a47c2cb93
Contents?: true
Size: 1.68 KB
Versions: 11
Compression:
Stored size: 1.68 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 {Hash} people # def self.update eid, people GoTransverseTractApi.put_request_for(self, {eid: eid}, people) end # # @param {Long} eid # @param {Hash} address # def self.add_address eid, address GoTransverseTractApi.post_request_for(self, {eid: eid}, address, "addAddress") end # # @param {Long} eid # @param {Hash} person # def self.add_person eid, person GoTransverseTractApi.post_request_for(self, {eid: eid}, person, "addPerson") end # # @param {Long} eid # @param {Hash} person # def self.remove_person eid, person GoTransverseTractApi.post_request_for(self, {eid: eid}, person, "removePerson") end end end end
Version data entries
11 entries across 11 versions & 1 rubygems