Method: Megam::Discounts#initialize
- Defined in:
- lib/megam/core/discounts.rb
#initialize(email = nil, api_key = nil) ⇒ Discounts
Returns a new instance of Discounts.
19 20 21 22 23 24 25 26 27 28 |
# File 'lib/megam/core/discounts.rb', line 19 def initialize(email=nil, api_key=nil) @id = nil @accounts_id = nil @bill_type = nil @code = nil @status = nil @created_at = nil @some_msg = {} super(email, api_key) end |