Module: ChinaShop::Config

Included in:
Client
Defined in:
lib/chinashop/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#keyObject

Returns the value of attribute key.



3
4
5
# File 'lib/chinashop/config.rb', line 3

def key
  @key
end

#secretObject

Returns the value of attribute secret.



3
4
5
# File 'lib/chinashop/config.rb', line 3

def secret
  @secret
end

Instance Method Details

#configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



5
6
7
# File 'lib/chinashop/config.rb', line 5

def configure
  yield self
end