Class: Xdelivery::API::Base
- Inherits:
-
Object
- Object
- Xdelivery::API::Base
- Defined in:
- lib/xdelivery/api/base.rb
Constant Summary collapse
- BASE_URL =
'https://api.xdelivery.io'
Instance Attribute Summary collapse
-
#access_key ⇒ Object
Returns the value of attribute access_key.
-
#merchant_no ⇒ Object
Returns the value of attribute merchant_no.
Instance Method Summary collapse
-
#initialize(merchant_no = '', access_key = '') ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(merchant_no = '', access_key = '') ⇒ Base
Returns a new instance of Base.
11 12 13 14 |
# File 'lib/xdelivery/api/base.rb', line 11 def initialize(merchant_no='', access_key='') self.merchant_no = merchant_no self.access_key = access_key end |
Instance Attribute Details
#access_key ⇒ Object
Returns the value of attribute access_key.
7 8 9 |
# File 'lib/xdelivery/api/base.rb', line 7 def access_key @access_key end |
#merchant_no ⇒ Object
Returns the value of attribute merchant_no.
7 8 9 |
# File 'lib/xdelivery/api/base.rb', line 7 def merchant_no @merchant_no end |