Class: Billimatic::Resources::InvoiceTemplate

Inherits:
Base
  • Object
show all
Defined in:
lib/billimatic/resources/invoice_template.rb

Instance Attribute Summary

Attributes inherited from Base

#http

Instance Method Summary collapse

Methods inherited from Base

#collection_name, #create, crud, #destroy, #initialize, #list_by_organization, #parsed_body, #show_by_organization, #update

Methods included from Hooks

#notify

Constructor Details

This class inherits a constructor from Billimatic::Resources::Base

Instance Method Details

#list(organization_id:) ⇒ Object



4
5
6
# File 'lib/billimatic/resources/invoice_template.rb', line 4

def list(organization_id:)
  list_by_organization(organization_id)
end

#show(id, organization_id:) ⇒ Object



8
9
10
# File 'lib/billimatic/resources/invoice_template.rb', line 8

def show(id, organization_id:)
  show_by_organization(organization_id, id)
end