Class: Bootpay::Commerce::StoreModule
- Inherits:
-
Object
- Object
- Bootpay::Commerce::StoreModule
- Defined in:
- lib/bootpay/commerce/store.rb
Instance Method Summary collapse
-
#detail ⇒ Object
가맹점 상세 정보 조회.
-
#info ⇒ Object
가맹점 기본 정보 조회.
-
#initialize(bootpay) ⇒ StoreModule
constructor
A new instance of StoreModule.
Constructor Details
#initialize(bootpay) ⇒ StoreModule
Returns a new instance of StoreModule.
6 7 8 |
# File 'lib/bootpay/commerce/store.rb', line 6 def initialize(bootpay) @bootpay = bootpay end |
Instance Method Details
#detail ⇒ Object
가맹점 상세 정보 조회
16 17 18 |
# File 'lib/bootpay/commerce/store.rb', line 16 def detail @bootpay.get('store/detail') end |
#info ⇒ Object
가맹점 기본 정보 조회
11 12 13 |
# File 'lib/bootpay/commerce/store.rb', line 11 def info @bootpay.get('store') end |