Class: Bootpay::Commerce::StoreModule

Inherits:
Object
  • Object
show all
Defined in:
lib/bootpay/commerce/store.rb

Instance Method Summary collapse

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

#detailObject

가맹점 상세 정보 조회



16
17
18
# File 'lib/bootpay/commerce/store.rb', line 16

def detail
  @bootpay.get('store/detail')
end

#infoObject

가맹점 기본 정보 조회



11
12
13
# File 'lib/bootpay/commerce/store.rb', line 11

def info
  @bootpay.get('store')
end