Module: Gbizinfo::Api::Endpoints::HojinSubsidy
- Included in:
- Gbizinfo::Api::Endpoints
- Defined in:
- lib/gbizinfo/api/endpoints/hojin_subsidy.rb
Instance Method Summary collapse
-
#hojin_subsidy(corporate_number:) ⇒ Object
Returns the subsidy information of a given corporate number.
Instance Method Details
#hojin_subsidy(corporate_number:) ⇒ Object
Returns the subsidy information of a given corporate number.
11 12 13 14 |
# File 'lib/gbizinfo/api/endpoints/hojin_subsidy.rb', line 11 def hojin_subsidy(corporate_number:) throw ArgumentError.new('Required arguments :corporate_number missing') if corporate_number.nil? get("hojin/#{corporate_number}/subsidy") end |