Module: Gbizinfo::Api::Endpoints::HojinUpdateInfoWorkplace

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

Instance Method Summary collapse

Instance Method Details

#hojin_update_info_workplace(options = {}) ⇒ Object

Returns the workplace 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_workplace.rb', line 15

def hojin_update_info_workplace(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/workplace', options)
end