Class: Recurly::Resources::CustomerPermission

Inherits:
Recurly::Resource show all
Defined in:
lib/recurly/resources/customer_permission.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

#codeString

Returns Customer permission code.

Returns:

  • (String)

    Customer permission code.



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

define_attribute :code, String

#descriptionString

Returns Description of customer permission.

Returns:

  • (String)

    Description of customer permission.



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

define_attribute :description, String

#idString

Returns Customer permission ID.

Returns:

  • (String)

    Customer permission ID.



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

define_attribute :id, String

#nameString

Returns Customer permission name.

Returns:

  • (String)

    Customer permission name.



23
# File 'lib/recurly/resources/customer_permission.rb', line 23

define_attribute :name, String

#objectString

Returns It will always be “customer_permission”.

Returns:

  • (String)

    It will always be “customer_permission”.



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

define_attribute :object, String