Module: Unit
- Defined in:
- lib/unit-ruby.rb,
lib/unit-ruby/version.rb,
lib/unit-ruby/statement.rb,
lib/unit-ruby/pin_status.rb,
lib/unit-ruby/types/date.rb,
lib/unit-ruby/types/hash.rb,
lib/unit-ruby/util/error.rb,
lib/unit-ruby/ach_payment.rb,
lib/unit-ruby/institution.rb,
lib/unit-ruby/transaction.rb,
lib/unit-ruby/types/array.rb,
lib/unit-ruby/types/float.rb,
lib/unit-ruby/types/phone.rb,
lib/unit-ruby/util/schema.rb,
lib/unit-ruby/atm_location.rb,
lib/unit-ruby/types/string.rb,
lib/unit-ruby/authorization.rb,
lib/unit-ruby/types/address.rb,
lib/unit-ruby/types/boolean.rb,
lib/unit-ruby/types/integer.rb,
lib/unit-ruby/customer_token.rb,
lib/unit-ruby/deposit_account.rb,
lib/unit-ruby/types/date_time.rb,
lib/unit-ruby/types/full_name.rb,
lib/unit-ruby/util/connection.rb,
lib/unit-ruby/ach_counterparty.rb,
lib/unit-ruby/application_form.rb,
lib/unit-ruby/received_payment.rb,
lib/unit-ruby/types/ach_limits.rb,
lib/unit-ruby/outreach_settings.rb,
lib/unit-ruby/types/card_limits.rb,
lib/unit-ruby/types/coordinates.rb,
lib/unit-ruby/util/api_resource.rb,
lib/unit-ruby/white_label_theme.rb,
lib/unit-ruby/types/counterparty.rb,
lib/unit-ruby/individual_customer.rb,
lib/unit-ruby/types/account_limits.rb,
lib/unit-ruby/individual_debit_card.rb,
lib/unit-ruby/individual_application.rb,
lib/unit-ruby/customer_bank_migration.rb,
lib/unit-ruby/util/resource_operations.rb,
lib/unit-ruby/types/check_deposit_limits.rb,
lib/unit-ruby/customer_token_verification.rb,
lib/unit-ruby/types/application_form_prefill.rb,
lib/unit-ruby/types/application_form_settings_override.rb
Defined Under Namespace
Modules: ResourceOperations, Types Classes: APIResource, AchCounterparty, AchPayment, ApplicationForm, AtmLocation, Authorization, Connection, CustomerBankMigration, CustomerToken, CustomerTokenVerification, DepositAccount, Error, IndividualApplication, IndividualCustomer, IndividualDebitCard, Institution, OutreachSettings, PinStatus, ReceivedPayment, Schema, Statement, Transaction, WhiteLabelTheme
Constant Summary collapse
- VERSION =
'0.9.0'
Class Method Summary collapse
-
.configure {|Connection| ... } ⇒ Object
Usage: Unit.configure do |config| config.api_key = ‘<your api key>’ config.base_url = ‘api.s.unit.sh’ config.trust_token = ‘<your trust token key>’ end.
Class Method Details
.configure {|Connection| ... } ⇒ Object
Usage:
Unit.configure do |config|
config.api_key = '<your api key>'
config.base_url = 'https://api.s.unit.sh'
config.trust_token = '<your trust token key>'
end
55 56 57 |
# File 'lib/unit-ruby.rb', line 55 def self.configure yield(Connection) end |