class SuperLanding::Client

Attributes

access_key[RW]
base_url[RW]
merchant_no[RW]

Public Class Methods

new(merchant_no, access_key, base_url=nil) click to toggle source
# File lib/super_landing/client.rb, line 5
def initialize(merchant_no, access_key, base_url=nil)
  @merchant_no = merchant_no
  @access_key = access_key
  @base_url = base_url
end

Public Instance Methods

statistic_items!(ids) click to toggle source
# File lib/super_landing/client.rb, line 11
def statistic_items!(ids)
  API::StatisticItems.new(merchant_no, access_key, base_url).get!(ids)
end