Class: Nurego::Entitlement
- Inherits:
-
APIResource
- Object
- NuregoObject
- APIResource
- Nurego::Entitlement
- Includes:
- APIOperations::Create, APIOperations::List
- Defined in:
- lib/nurego/entitlement.rb
Instance Attribute Summary
Attributes inherited from NuregoObject
Class Method Summary collapse
Instance Method Summary collapse
Methods included from APIOperations::Create
Methods included from APIOperations::List
Methods inherited from APIResource
class_name, #refresh, retrieve, url, #url
Methods inherited from NuregoObject
#[], #[]=, #as_json, construct_from, #each, #initialize, #inspect, #keys, #refresh_from, #to_hash, #to_json, #to_s, #values
Constructor Details
This class inherits a constructor from Nurego::NuregoObject
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Nurego::NuregoObject
Class Method Details
.all(organization_id, filters = {}, api_key = nil) ⇒ Object
14 15 16 17 |
# File 'lib/nurego/entitlement.rb', line 14 def self.all(organization_id, filters={}, api_key=nil) response, api_key = Nurego.request(:get, "/v1/organizations/#{organization_id}/entitlements", api_key, filters) Util.convert_to_nurego_object(response, api_key) end |