Module: Gbizinfo::Api::Endpoints::HojinUpdateInfoProcurement

Included in:
Gbizinfo::Api::Endpoints
Defined in:
lib/gbizinfo/api/endpoints/hojin_update_info_procurement.rb

Instance Method Summary collapse

Instance Method Details

#hojin_update_info_procurement(options = {}) ⇒ Object

Returns the procurement information added or updated within a given period.

Parameters:

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

    a customizable set of options

Options Hash (options):

  • :from (String)

    Start date to retrieve the corporate information for, expressed as yyyyMMdd.

  • :to (String)

    End date to retrieve the corporate information for, expressed as yyyyMMdd.

  • :limit (String)

    Number of pages in search results.

See Also:



15
16
17
18
19
# File 'lib/gbizinfo/api/endpoints/hojin_update_info_procurement.rb', line 15

def hojin_update_info_procurement(options = {})
  throw ArgumentError.new('Required arguments :from missing') if options[:from].nil?
  throw ArgumentError.new('Required arguments :to missing') if options[:to].nil?
  get('hojin/updateInfo/procurement', options)
end