Class: ChartMogul::LineItems::OneTime

Inherits:
Object
  • Object
show all
Defined in:
lib/chartmogul/line_items/one_time.rb

Instance Method Summary collapse

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 = {}) ⇒ OneTime

Returns a new instance of OneTime.



24
25
26
27
# File 'lib/chartmogul/line_items/one_time.rb', line 24

def initialize(attributes = {})
  super(attributes)
  @type = 'one_time'
end