Module: SiwappClient

Defined in:
lib/siwapp-client/version.rb,
lib/siwapp-client.rb,
lib/siwapp-client/api_error.rb,
lib/siwapp-client/api_client.rb,
lib/siwapp-client/configuration.rb,
lib/siwapp-client/models/invoice.rb,
lib/siwapp-client/api/default_api.rb,
lib/siwapp-client/models/invoice_data.rb,
lib/siwapp-client/models/invoice_item.rb,
lib/siwapp-client/models/invoice_payment.rb,
lib/siwapp-client/models/invoice_data_meta.rb,
lib/siwapp-client/models/invoice_data_attributes.rb,
lib/siwapp-client/models/invoice_item_attributes.rb,
lib/siwapp-client/models/invoice_data_relationships.rb,
lib/siwapp-client/models/invoice_payment_attributes.rb,
lib/siwapp-client/models/invoice_data_relationships_items.rb,
lib/siwapp-client/models/invoice_data_relationships_payments.rb

Overview

#Siwapp API Client

#Access Siwapp data via API.

OpenAPI spec version: 1.0.0

Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.2.3

Defined Under Namespace

Classes: ApiClient, ApiError, Configuration, DefaultApi, Invoice, InvoiceData, InvoiceDataAttributes, InvoiceDataMeta, InvoiceDataRelationships, InvoiceDataRelationshipsItems, InvoiceDataRelationshipsPayments, InvoiceItem, InvoiceItemAttributes, InvoicePayment, InvoicePaymentAttributes

Constant Summary collapse

VERSION =
"1.0.0"

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

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

If no block given, return the default Configuration object.



43
44
45
46
47
48
49
# File 'lib/siwapp-client.rb', line 43

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