Class: ChartMogul::LineItems::Subscription
- Defined in:
- lib/chartmogul/line_items/subscription.rb
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Subscription
constructor
A new instance of Subscription.
Methods inherited from Object
#allowed_for_write?, #assign_all_attributes, #assign_writeable_attributes, attributes, define_private_writer, define_reader, define_writer, #instance_attributes, new_from_json, readonly_attr, #serialize_for_write, #serialized_value_for_attr, writeable_attr, writeable_attributes
Constructor Details
#initialize(attributes = {}) ⇒ Subscription
Returns a new instance of Subscription.
30 31 32 33 |
# File 'lib/chartmogul/line_items/subscription.rb', line 30 def initialize(attributes = {}) super(attributes) @type = 'subscription' end |