Class: Api4Over::Organizations
- Inherits:
-
Object
- Object
- Api4Over::Organizations
- Includes:
- HTTParty
- Defined in:
- lib/api4over/organizations.rb
Instance Method Summary collapse
Instance Method Details
#retrieve_organizations(path:, parameters: {}, mode: 'test') ⇒ Object
10 11 12 13 14 |
# File 'lib/api4over/organizations.rb', line 10 def retrieve_organizations(path:, parameters: {}, mode: 'test') self.class.base_uri (mode == 'test' ? 'https://sandbox-api.4over.com' : 'https://api.4over.com') response = self.class.get(path, parameters) response.parsed_response end |