Module: StorecoveApi

Defined in:
lib/storecove/version.rb,
lib/storecove.rb,
lib/storecove/api_error.rb,
lib/storecove/api_client.rb,
lib/storecove/models/tax.rb,
lib/storecove/models/shop.rb,
lib/storecove/models/logos.rb,
lib/storecove/models/party.rb,
lib/storecove/api/shops_api.rb,
lib/storecove/configuration.rb,
lib/storecove/models/address.rb,
lib/storecove/models/contact.rb,
lib/storecove/models/country.rb,
lib/storecove/models/invoice.rb,
lib/storecove/models/error_model.rb,
lib/storecove/models/invoice_line.rb,
lib/storecove/models/legal_entity.rb,
lib/storecove/models/currency_code.rb,
lib/storecove/api/shop_accounts_api.rb,
lib/storecove/models/invoice_recipient.rb,
lib/storecove/models/public_identifier.rb,
lib/storecove/models/invoice_submission.rb,
lib/storecove/models/public_identifiers.rb,
lib/storecove/models/shop_account_input.rb,
lib/storecove/models/shop_account_result.rb,
lib/storecove/models/shop_account_update.rb,
lib/storecove/api/invoice_submissions_api.rb,
lib/storecove/models/accounting_cost_code.rb,
lib/storecove/api/shop_account_requests_api.rb,
lib/storecove/models/legal_entity_identifier.rb,
lib/storecove/models/accounting_customer_party.rb,
lib/storecove/models/invoice_submission_result.rb,
lib/storecove/models/shop_account_request_input.rb,
lib/storecove/models/invoice_recipient_preflight.rb,
lib/storecove/models/shop_account_request_result.rb,
lib/storecove/models/shop_account_request_update.rb,
lib/storecove/models/preflight_invoice_recipient_result.rb

Overview

#Storecove API

#Storecove API

OpenAPI spec version: 2.0.1 Contact: [email protected] Generated by: github.com/swagger-api/swagger-codegen.git

Defined Under Namespace

Classes: AccountingCostCode, AccountingCustomerParty, Address, ApiClient, ApiError, Configuration, Contact, Country, CurrencyCode, ErrorModel, Invoice, InvoiceLine, InvoiceRecipient, InvoiceRecipientPreflight, InvoiceSubmission, InvoiceSubmissionResult, InvoiceSubmissionsApi, LegalEntity, LegalEntityIdentifier, Logos, Party, PreflightInvoiceRecipientResult, PublicIdentifier, PublicIdentifiers, Shop, ShopAccountInput, ShopAccountRequestInput, ShopAccountRequestResult, ShopAccountRequestUpdate, ShopAccountRequestsApi, ShopAccountResult, ShopAccountUpdate, ShopAccountsApi, ShopsApi, Tax

Constant Summary collapse

VERSION =
"1.0.6"

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

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

If no block given, return the default Configuration object.



62
63
64
65
66
67
68
# File 'lib/storecove.rb', line 62

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