Module: ChinaShop::Config
- Included in:
- Client
- Defined in:
- lib/chinashop/config.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
-
#secret ⇒ Object
Returns the value of attribute secret.
Instance Method Summary collapse
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key.
3 4 5 |
# File 'lib/chinashop/config.rb', line 3 def key @key end |
#secret ⇒ Object
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
5 6 7 |
# File 'lib/chinashop/config.rb', line 5 def configure yield self end |