Class: Interkassa::BaseOperation
- Inherits:
-
Object
- Object
- Interkassa::BaseOperation
- Defined in:
- lib/interkassa/base_operation.rb
Instance Attribute Summary collapse
-
#ik_shop_id ⇒ Object
Returns the value of attribute ik_shop_id.
-
#secret_key ⇒ Object
Returns the value of attribute secret_key.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ BaseOperation
constructor
A new instance of BaseOperation.
Constructor Details
#initialize(options = {}) ⇒ BaseOperation
Returns a new instance of BaseOperation.
5 6 7 8 9 10 |
# File 'lib/interkassa/base_operation.rb', line 5 def initialize(={}) .replace(Interkassa..merge()) @ik_shop_id = [:ik_shop_id] @secret_key = [:secret_key] end |
Instance Attribute Details
#ik_shop_id ⇒ Object
Returns the value of attribute ik_shop_id.
3 4 5 |
# File 'lib/interkassa/base_operation.rb', line 3 def ik_shop_id @ik_shop_id end |
#secret_key ⇒ Object
Returns the value of attribute secret_key.
3 4 5 |
# File 'lib/interkassa/base_operation.rb', line 3 def secret_key @secret_key end |