Class: ShopExpress::Base

Inherits:
Object
  • Object
show all
Includes:
Connection
Defined in:
lib/shop_express/base.rb

Overview

base class for all methods used in others classes

Direct Known Subclasses

Authorization, CatalogExport, ImportResidues

Constant Summary collapse

STATUS_OK =
'OK'

Constants included from Connection

Connection::ERROR

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Connection

#connection, #mixin_token!, #post

Constructor Details

#initialize(shop_express) ⇒ Base

Returns a new instance of Base.

Parameters:



14
15
16
# File 'lib/shop_express/base.rb', line 14

def initialize(shop_express)
  @shop_express = shop_express
end

Instance Attribute Details

#shop_expressObject (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