Module: Maventa

Defined in:
lib/maventa.rb,
lib/maventa/jwk.rb,
lib/maventa/odp.rb,
lib/maventa/error.rb,
lib/maventa/files.rb,
lib/maventa/users.rb,
lib/maventa/client.rb,
lib/maventa/lookup.rb,
lib/maventa/oauth2.rb,
lib/maventa/status.rb,
lib/maventa/company.rb,
lib/maventa/partner.rb,
lib/maventa/version.rb,
lib/maventa/analysis.rb,
lib/maventa/invoices.rb,
lib/maventa/operator.rb,
lib/maventa/resource.rb,
lib/maventa/services.rb,
lib/maventa/companies.rb,
lib/maventa/documents.rb,
lib/maventa/definitions.rb,
lib/maventa/access_token.rb,
lib/maventa/server_error.rb,
lib/maventa/request_error.rb,
lib/maventa/fi_bank_messages.rb

Defined Under Namespace

Classes: AccessToken, Analysis, Client, Companies, Company, Definitions, Documents, Error, FiBankMessages, Files, Invoices, Jwk, Lookup, OAuth2, Odp, Operator, Partner, RequestError, Resource, ServerError, Services, Status, Users

Constant Summary collapse

API_URL =
{
	testing: "https://ax-stage.maventa.com",
	production: ""
}
DEFAULT_CONFIG =
{
	client_id: nil,
	client_secret: nil,
	vendor_api_key: nil
}
VERSION =
"0.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject

Returns the value of attribute config.



48
49
50
# File 'lib/maventa.rb', line 48

def config
  @config
end

Class Method Details

.configure {|@config| ... } ⇒ Object

Yields:



51
52
53
# File 'lib/maventa.rb', line 51

def configure
	yield @config
end