Class: Chiketto::TicketClass
- Defined in:
- lib/chiketto/ticket_class.rb
Instance Attribute Summary collapse
-
#cost ⇒ Object
Returns the value of attribute cost.
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#fee ⇒ Object
Returns the value of attribute fee.
-
#free ⇒ Object
Returns the value of attribute free.
-
#maximum_quantity ⇒ Object
Returns the value of attribute maximum_quantity.
-
#minimum_quantity ⇒ Object
Returns the value of attribute minimum_quantity.
-
#name ⇒ Object
Returns the value of attribute name.
-
#quantity_sold ⇒ Object
Returns the value of attribute quantity_sold.
-
#quantity_total ⇒ Object
Returns the value of attribute quantity_total.
Attributes inherited from Resource
Method Summary
Methods inherited from Resource
build_query_string, endpoint, get, #initialize, open_post, paginated, post, should_paginate, token
Methods included from AttrDSL
Constructor Details
This class inherits a constructor from Chiketto::Resource
Instance Attribute Details
#cost ⇒ Object
Returns the value of attribute cost.
3 4 5 |
# File 'lib/chiketto/ticket_class.rb', line 3 def cost @cost end |
#currency ⇒ Object
Returns the value of attribute currency.
3 4 5 |
# File 'lib/chiketto/ticket_class.rb', line 3 def currency @currency end |
#fee ⇒ Object
Returns the value of attribute fee.
3 4 5 |
# File 'lib/chiketto/ticket_class.rb', line 3 def fee @fee end |
#free ⇒ Object
Returns the value of attribute free.
3 4 5 |
# File 'lib/chiketto/ticket_class.rb', line 3 def free @free end |
#maximum_quantity ⇒ Object
Returns the value of attribute maximum_quantity.
3 4 5 |
# File 'lib/chiketto/ticket_class.rb', line 3 def maximum_quantity @maximum_quantity end |
#minimum_quantity ⇒ Object
Returns the value of attribute minimum_quantity.
3 4 5 |
# File 'lib/chiketto/ticket_class.rb', line 3 def minimum_quantity @minimum_quantity end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/chiketto/ticket_class.rb', line 3 def name @name end |
#quantity_sold ⇒ Object
Returns the value of attribute quantity_sold.
3 4 5 |
# File 'lib/chiketto/ticket_class.rb', line 3 def quantity_sold @quantity_sold end |
#quantity_total ⇒ Object
Returns the value of attribute quantity_total.
3 4 5 |
# File 'lib/chiketto/ticket_class.rb', line 3 def quantity_total @quantity_total end |