Class: TempDiscount
- Defined in:
- app/models/temp_discount.rb
Overview
only exsist for mockuping up the discount form remove after Discount and DiscountSections model is created
Constant Summary
Constants inherited from Event
Event::ANY_EVENT_ID, Event::ANY_EVENT_TEXT, Event::CATEGORIES
Constants included from Ext::Uuid
Instance Attribute Summary collapse
-
#active ⇒ Object
Returns the value of attribute active.
-
#code ⇒ Object
Returns the value of attribute code.
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#maximum_purchase ⇒ Object
Returns the value of attribute maximum_purchase.
-
#minimum_purchase ⇒ Object
Returns the value of attribute minimum_purchase.
-
#promotion_type ⇒ Object
Returns the value of attribute promotion_type.
-
#show_ids ⇒ Object
Returns the value of attribute show_ids.
-
#unlimited_capacity ⇒ Object
Returns the value of attribute unlimited_capacity.
Method Summary
Methods inherited from Event
#<=>, #applies_to_pass?, #artfully_ticketed, #as_full_calendar_json, #as_json, #as_widget_json, #assign_chart, #create_default_chart, #default_chart, #destroy, #destroy!, #destroyable?, #filter_charts, for_event_storefront, #free?, #imported?, #items, #next_public_show, #next_show, #played_shows, #refresh_stats, #set_primary_category, #single_show?, storefront_find, #to_s, #upcoming_public_shows, #upcoming_shows, #upcoming_shows_rel
Methods included from Ext::DelayedIndexing
Methods included from EventPresenter
Methods included from Ticket::Reporting
Methods included from Ext::Uuid
Methods included from Ext::Integrations::Event
Instance Attribute Details
#active ⇒ Object
Returns the value of attribute active.
5 6 7 |
# File 'app/models/temp_discount.rb', line 5 def active @active end |
#code ⇒ Object
Returns the value of attribute code.
5 6 7 |
# File 'app/models/temp_discount.rb', line 5 def code @code end |
#limit ⇒ Object
Returns the value of attribute limit.
5 6 7 |
# File 'app/models/temp_discount.rb', line 5 def limit @limit end |
#maximum_purchase ⇒ Object
Returns the value of attribute maximum_purchase.
5 6 7 |
# File 'app/models/temp_discount.rb', line 5 def maximum_purchase @maximum_purchase end |
#minimum_purchase ⇒ Object
Returns the value of attribute minimum_purchase.
5 6 7 |
# File 'app/models/temp_discount.rb', line 5 def minimum_purchase @minimum_purchase end |
#promotion_type ⇒ Object
Returns the value of attribute promotion_type.
5 6 7 |
# File 'app/models/temp_discount.rb', line 5 def promotion_type @promotion_type end |
#show_ids ⇒ Object
Returns the value of attribute show_ids.
5 6 7 |
# File 'app/models/temp_discount.rb', line 5 def show_ids @show_ids end |
#unlimited_capacity ⇒ Object
Returns the value of attribute unlimited_capacity.
5 6 7 |
# File 'app/models/temp_discount.rb', line 5 def unlimited_capacity @unlimited_capacity end |