Class: Recurly::Resources::MeasuredUnit
- Inherits:
-
Recurly::Resource
- Object
- Recurly::Resource
- Recurly::Resources::MeasuredUnit
- Defined in:
- lib/recurly/resources/measured_unit.rb
Instance Attribute Summary collapse
-
#created_at ⇒ DateTime
Created at.
-
#deleted_at ⇒ DateTime
Deleted at.
-
#description ⇒ String
Optional internal description.
-
#display_name ⇒ String
Display name for the measured unit.
-
#id ⇒ String
Item ID.
-
#name ⇒ String
Unique internal name of the measured unit on your site.
-
#object ⇒ String
Object type.
-
#state ⇒ String
The current state of the measured unit.
-
#updated_at ⇒ DateTime
Last updated at.
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 Created at.
11 |
# File 'lib/recurly/resources/measured_unit.rb', line 11 define_attribute :created_at, DateTime |
#deleted_at ⇒ DateTime
Returns Deleted at.
15 |
# File 'lib/recurly/resources/measured_unit.rb', line 15 define_attribute :deleted_at, DateTime |
#description ⇒ String
Returns Optional internal description.
19 |
# File 'lib/recurly/resources/measured_unit.rb', line 19 define_attribute :description, String |
#display_name ⇒ String
Returns Display name for the measured unit. Can only contain spaces, underscores and must be alphanumeric.
23 |
# File 'lib/recurly/resources/measured_unit.rb', line 23 define_attribute :display_name, String |
#id ⇒ String
Returns Item ID.
27 |
# File 'lib/recurly/resources/measured_unit.rb', line 27 define_attribute :id, String |
#name ⇒ String
Returns Unique internal name of the measured unit on your site.
31 |
# File 'lib/recurly/resources/measured_unit.rb', line 31 define_attribute :name, String |
#object ⇒ String
Returns Object type.
35 |
# File 'lib/recurly/resources/measured_unit.rb', line 35 define_attribute :object, String |
#state ⇒ String
Returns The current state of the measured unit.
39 |
# File 'lib/recurly/resources/measured_unit.rb', line 39 define_attribute :state, String |
#updated_at ⇒ DateTime
Returns Last updated at.
43 |
# File 'lib/recurly/resources/measured_unit.rb', line 43 define_attribute :updated_at, DateTime |