Class: Recurly::Resources::Entitlement
- Inherits:
-
Recurly::Resource
- Object
- Recurly::Resource
- Recurly::Resources::Entitlement
- Defined in:
- lib/recurly/resources/entitlement.rb
Instance Attribute Summary collapse
-
#created_at ⇒ DateTime
Time object was created.
- #customer_permission ⇒ CustomerPermission
-
#granted_by ⇒ Array[GrantedBy]
Subscription or item that granted the customer permission.
-
#object ⇒ String
Entitlement.
-
#updated_at ⇒ DateTime
Time the object was last updated.
Attributes inherited from Recurly::Resource
Method Summary
Methods inherited from Recurly::Resource
#==, #get_response, #inspect, #requires_client?, #to_json, #to_s
Methods included from Schema::SchemaFactory
Methods included from Schema::ResourceCaster
Methods included from Schema::SchemaValidator
#get_did_you_mean, #validate!, #validate_attribute!
Instance Attribute Details
#created_at ⇒ DateTime
Returns Time object was created.
11 |
# File 'lib/recurly/resources/entitlement.rb', line 11 define_attribute :created_at, DateTime |
#customer_permission ⇒ CustomerPermission
15 |
# File 'lib/recurly/resources/entitlement.rb', line 15 define_attribute :customer_permission, :CustomerPermission |
#granted_by ⇒ Array[GrantedBy]
Returns Subscription or item that granted the customer permission.
19 |
# File 'lib/recurly/resources/entitlement.rb', line 19 define_attribute :granted_by, Array, { :item_type => :GrantedBy } |
#object ⇒ String
Returns Entitlement.
23 |
# File 'lib/recurly/resources/entitlement.rb', line 23 define_attribute :object, String |
#updated_at ⇒ DateTime
Returns Time the object was last updated.
27 |
# File 'lib/recurly/resources/entitlement.rb', line 27 define_attribute :updated_at, DateTime |