Module: InvoicingApi

Defined in:
lib/pnap_invoicing_api/api_error.rb,
lib/pnap_invoicing_api.rb,
lib/pnap_invoicing_api/version.rb,
lib/pnap_invoicing_api/api_client.rb,
lib/pnap_invoicing_api/models/error.rb,
lib/pnap_invoicing_api/configuration.rb,
lib/pnap_invoicing_api/models/invoice.rb,
lib/pnap_invoicing_api/api/invoices_api.rb,
lib/pnap_invoicing_api/models/paginated_invoices.rb,
lib/pnap_invoicing_api/models/paginated_response.rb

Overview

#Invoicing API

#List, fetch and pay invoices with the Invoicing API.

The version of the OpenAPI document: 1.0 Contact: [email protected] Generated by: openapi-generator.tech OpenAPI Generator version: 7.2.0

Defined Under Namespace

Classes: ApiClient, ApiError, Configuration, Error, Invoice, InvoicesApi, PaginatedInvoices, PaginatedResponse

Constant Summary collapse

VERSION =
get_version()

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

InvoicingApi.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



36
37
38
39
40
41
42
# File 'lib/pnap_invoicing_api.rb', line 36

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end