Class: Hithorizons::Invoicing::Detail

Inherits:
BaseApi
  • Object
show all
Defined in:
lib/hithorizons/invoicing/detail.rb

Constant Summary

Constants inherited from BaseApi

BaseApi::API_URL

Class Method Summary collapse

Methods inherited from BaseApi

api_key, initialize_client, process_request, request

Class Method Details

.get(country_code:, id:) ⇒ Object



6
7
8
# File 'lib/hithorizons/invoicing/detail.rb', line 6

def self.get(country_code:, id:)
  process_request("/#{country_code}/Company/Detail", 'GET', { Id: id })
end