Module: Formi9::Client::Companies

Included in:
Formi9::Client
Defined in:
lib/formi9/client/companies.rb

Overview

Defines methods related to companies

Instance Method Summary collapse

Instance Method Details

#create_company_with_mou(options) ⇒ Object



11
12
13
# File 'lib/formi9/client/companies.rb', line 11

def create_company_with_mou(options)
  post('companies/mou', options)
end

#get_company_info(company_id) ⇒ Object

Get company settings, if there are no settings saved, anempty response if given.



7
8
9
# File 'lib/formi9/client/companies.rb', line 7

def get_company_info(company_id)
  get("companies/#{company_id}")
end