Class: Recurly::Resources::MeasuredUnit

Inherits:
Recurly::Resource show all
Defined in:
lib/recurly/resources/measured_unit.rb

Instance Attribute Summary collapse

Attributes inherited from Recurly::Resource

#attributes

Method Summary

Methods inherited from Recurly::Resource

#==, #get_response, #inspect, #requires_client?, #to_json, #to_s

Methods included from Schema::SchemaFactory

#schema

Methods included from Schema::ResourceCaster

#cast

Methods included from Schema::SchemaValidator

#get_did_you_mean, #validate!, #validate_attribute!

Instance Attribute Details

#created_atDateTime

Returns Created at.

Returns:

  • (DateTime)

    Created at



11
# File 'lib/recurly/resources/measured_unit.rb', line 11

define_attribute :created_at, DateTime

#deleted_atDateTime

Returns Deleted at.

Returns:

  • (DateTime)

    Deleted at



15
# File 'lib/recurly/resources/measured_unit.rb', line 15

define_attribute :deleted_at, DateTime

#descriptionString

Returns Optional internal description.

Returns:

  • (String)

    Optional internal description.



19
# File 'lib/recurly/resources/measured_unit.rb', line 19

define_attribute :description, String

#display_nameString

Returns Display name for the measured unit. Can only contain spaces, underscores and must be alphanumeric.

Returns:

  • (String)

    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

#idString

Returns Item ID.

Returns:

  • (String)

    Item ID



27
# File 'lib/recurly/resources/measured_unit.rb', line 27

define_attribute :id, String

#nameString

Returns Unique internal name of the measured unit on your site.

Returns:

  • (String)

    Unique internal name of the measured unit on your site.



31
# File 'lib/recurly/resources/measured_unit.rb', line 31

define_attribute :name, String

#objectString

Returns Object type.

Returns:

  • (String)

    Object type



35
# File 'lib/recurly/resources/measured_unit.rb', line 35

define_attribute :object, String

#stateString

Returns The current state of the measured unit.

Returns:

  • (String)

    The current state of the measured unit.



39
# File 'lib/recurly/resources/measured_unit.rb', line 39

define_attribute :state, String

#updated_atDateTime

Returns Last updated at.

Returns:

  • (DateTime)

    Last updated at



43
# File 'lib/recurly/resources/measured_unit.rb', line 43

define_attribute :updated_at, DateTime