Class: ThreeScale::Core::APIClient::Resource
- Inherits:
-
Object
- Object
- ThreeScale::Core::APIClient::Resource
- Includes:
- Attributes, Operations, Support
- Defined in:
- lib/3scale/core/api_client/resource.rb
Direct Known Subclasses
ThreeScale::Core::AlertLimit, ThreeScale::Core::Application, ThreeScale::Core::ApplicationKey, ThreeScale::Core::ApplicationReferrerFilter, Event, Metric, Service, ServiceError, ServiceToken, UsageLimit, Utilization
Instance Method Summary collapse
-
#initialize(attributes) ⇒ Resource
constructor
A new instance of Resource.
Methods included from Operations
Methods included from Support
Methods included from Attributes
#attributes, #dirty?, included, #update_attributes
Constructor Details
#initialize(attributes) ⇒ Resource
Returns a new instance of Resource.
45 46 47 |
# File 'lib/3scale/core/api_client/resource.rb', line 45 def initialize(attributes) update_attributes(attributes) end |