Class: ShopExpress::Base
- Inherits:
-
Object
- Object
- ShopExpress::Base
- Includes:
- Connection
- Defined in:
- lib/shop_express/base.rb
Overview
base class for all methods used in others classes
Direct Known Subclasses
Constant Summary collapse
- STATUS_OK =
'OK'
Constants included from Connection
Instance Attribute Summary collapse
-
#shop_express ⇒ Object
readonly
Returns the value of attribute shop_express.
Instance Method Summary collapse
-
#initialize(shop_express) ⇒ Base
constructor
A new instance of Base.
Methods included from Connection
#connection, #mixin_token!, #post
Constructor Details
#initialize(shop_express) ⇒ Base
Returns a new instance of Base.
14 15 16 |
# File 'lib/shop_express/base.rb', line 14 def initialize(shop_express) @shop_express = shop_express end |
Instance Attribute Details
#shop_express ⇒ Object (readonly)
Returns the value of attribute shop_express.
9 10 11 |
# File 'lib/shop_express/base.rb', line 9 def shop_express @shop_express end |