Class: Xero::Clients::PrivateApplication

Inherits:
Xero::Client show all
Defined in:
lib/xero/clients/private_application.rb

Instance Attribute Summary

Attributes inherited from Xero::Client

#client

Instance Method Summary collapse

Methods inherited from Xero::Client

#build_invoice, #build_item, #build_model, #contacts, #get_contact, #get_invoice, #get_item, #initialize, #invoices, #items, #save

Constructor Details

This class inherits a constructor from Xero::Client

Instance Method Details

#connectionObject



4
5
6
7
8
9
# File 'lib/xero/clients/private_application.rb', line 4

def connection
  @connection ||= Xero::Connection.new(
    signature_method: 'RSA-SHA1',
    private_key_file: Xero.configuration.private_key_path
  )
end