Class: Interkassa::BaseOperation

Inherits:
Object
  • Object
show all
Defined in:
lib/interkassa/base_operation.rb

Direct Known Subclasses

Request, Response

Instance Attribute Summary collapse

Instance Method Summary collapse

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(options={})
  options.replace(Interkassa.default_options.merge(options))

  @ik_shop_id = options[:ik_shop_id]
  @secret_key = options[:secret_key]
end

Instance Attribute Details

#ik_shop_idObject

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_keyObject

Returns the value of attribute secret_key.



3
4
5
# File 'lib/interkassa/base_operation.rb', line 3

def secret_key
  @secret_key
end