lib/gotransverse-tract-api/order/organization.rb in gotransverse-tract-api-0.0.12 vs lib/gotransverse-tract-api/order/organization.rb in gotransverse-tract-api-0.0.13
- old
+ new
@@ -3,31 +3,31 @@
module Order
class Organization
def self.find_all
- GoTransverseTractApi.get_response_for(self.class)
+ GoTransverseTractApi.get_response_for(self)
end
#
# @param {Long} eid
#
def self.find_by_eid eid
- GoTransverseTractApi.get_response_for(self.class, {eid: eid})
+ GoTransverseTractApi.get_response_for(self, {eid: eid})
end
#
# @param {String} name
#
def self.find_by_name name
- GoTransverseTractApi.get_response_for(self.class, {name: name})
+ GoTransverseTractApi.get_response_for(self, {name: name})
end
#
# @param {Long} billing_account_eid
#
def self.find_by_billing_account_eid billing_account_eid
- GoTransverseTractApi.get_response_for(self.class, {billing_account_eid: billing_account_eid})
+ GoTransverseTractApi.get_response_for(self, {billing_account_eid: billing_account_eid})
end
end
end
\ No newline at end of file