Module: Gbizinfo::Api::Endpoints::HojinCommendation

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

Instance Method Summary collapse

Instance Method Details

#hojin_commendation(corporate_number:) ⇒ Object

Returns the commendation information of a given corporate number.

Parameters:

  • :corporate_number (String)

    A corporate number.

See Also:



11
12
13
14
# File 'lib/gbizinfo/api/endpoints/hojin_commendation.rb', line 11

def hojin_commendation(corporate_number:)
  throw ArgumentError.new('Required arguments :corporate_number missing') if corporate_number.nil?
  get("hojin/#{corporate_number}/commendation")
end