Class: Recurly::Resources::PriceSegment
- Inherits:
-
Recurly::Resource
- Object
- Recurly::Resource
- Recurly::Resources::PriceSegment
- Defined in:
- lib/recurly/resources/price_segment.rb
Instance Attribute Summary collapse
-
#code ⇒ String
The price segment code, e.g.
-
#id ⇒ String
The price segment ID, e.g.
-
#object ⇒ String
Object type.
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
#code ⇒ String
Returns The price segment code, e.g. `my-price-segment`.
11 |
# File 'lib/recurly/resources/price_segment.rb', line 11 define_attribute :code, String |
#id ⇒ String
Returns The price segment ID, e.g. `e28zov4fw0v2`.
15 |
# File 'lib/recurly/resources/price_segment.rb', line 15 define_attribute :id, String |
#object ⇒ String
Returns Object type.
19 |
# File 'lib/recurly/resources/price_segment.rb', line 19 define_attribute :object, String |