class Cloverrb::Merchant

Public Class Methods

new(token) click to toggle source
# File lib/cloverrb/merchant.rb, line 3
def initialize(token)
  @token = token
end

Public Instance Methods

find(merchant_id) click to toggle source
# File lib/cloverrb/merchant.rb, line 7
def find(merchant_id)
  url = "/merchants/#{merchant_id}?expand=owner"
  get(@token, url) 
end