Module: Insuggest::Gcv::Discount
- Defined in:
- lib/insuggest/gcv/discount.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
44 45 46 |
# File 'lib/insuggest/gcv/discount.rb', line 44 def self.included(base) base.extend(ClassMethods) end |
Instance Method Details
#initialize(attributes = {}) ⇒ Object
4 5 6 |
# File 'lib/insuggest/gcv/discount.rb', line 4 def initialize(attributes={}) @attributes = attributes end |
#to_hash ⇒ Object
8 9 10 |
# File 'lib/insuggest/gcv/discount.rb', line 8 def to_hash @attributes end |