Module: Ebisu::Apis::CategorySearch

Included in:
Ebisu::Apis
Defined in:
lib/ebisu/apis/category_search.rb

Instance Method Summary collapse

Instance Method Details

#category_search(category_id, options = {}) ⇒ Object

Parameters:

  • category_id (Integer)
  • options (Hash) (defaults to: {})

Options Hash (options):

  • :output (String)

    出力形式 ( xml, php, jsonp )

  • :affiliate_type (String)

    バリューコマースアフィリエイト(vc)

  • :affiliate_id (String)

    バリューコマースアフィリエイトのID

  • :callback (String)

    JSONPの場合のコールバック



11
12
13
14
# File 'lib/ebisu/apis/category_search.rb', line 11

def category_search(category_id, options = {})
  options.merge!(category_id: category_id)
  Ebisu::CategorySearchResponse.new get('categorySearch', options)
end