Module: Increase

Extended by:
Forwardable
Defined in:
lib/increase.rb,
lib/increase/util.rb,
lib/increase/client.rb,
lib/increase/errors.rb,
lib/increase/version.rb,
lib/increase/resource.rb,
lib/increase/file_upload.rb,
lib/increase/configuration.rb,
lib/increase/response_hash.rb,
lib/increase/response_array.rb,
lib/increase/resources/cards.rb,
lib/increase/resources/files.rb,
lib/increase/resources/events.rb,
lib/increase/resources/groups.rb,
lib/increase/resources/limits.rb,
lib/increase/webhook/signature.rb,
lib/increase/resources/accounts.rb,
lib/increase/resources/entities.rb,
lib/increase/resources/documents.rb,
lib/increase/middleware/parse_json.rb,
lib/increase/middleware/encode_json.rb,
lib/increase/resources/transactions.rb,
lib/increase/resources/ach_transfers.rb,
lib/increase/resources/card_disputes.rb,
lib/increase/resources/card_profiles.rb,
lib/increase/resources/check_deposits.rb,
lib/increase/resources/wire_transfers.rb,
lib/increase/resources/account_numbers.rb,
lib/increase/resources/check_transfers.rb,
lib/increase/resources/routing_numbers.rb,
lib/increase/middleware/raise_api_error.rb,
lib/increase/resources/account_transfers.rb,
lib/increase/resources/external_accounts.rb,
lib/increase/resources/oauth_connections.rb,
lib/increase/resources/account_statements.rb,
lib/increase/resources/event_subscriptions.rb,
lib/increase/resources/real_time_decisions.rb,
lib/increase/resources/ach_prenotifications.rb,
lib/increase/resources/pending_transactions.rb,
lib/increase/resources/declined_transactions.rb,
lib/increase/resources/digital_wallet_tokens.rb,
lib/increase/resources/wire_drawdown_requests.rb,
lib/increase/resources/inbound_ach_transfer_returns.rb,
lib/increase/resources/inbound_wire_drawdown_requests.rb

Defined Under Namespace

Modules: Middleware, Util, Webhook Classes: AccountNumbers, AccountStatements, AccountTransfers, Accounts, AchPrenotifications, AchTransfers, ApiError, ApiMethodNotFoundError, CardDisputes, CardProfiles, Cards, CheckDeposits, CheckTransfers, Client, Configuration, DeclinedTransactions, DigitalWalletTokens, Documents, Entities, EnvironmentMismatchError, Error, EventSubscriptions, Events, ExternalAccounts, FileUpload, Files, Groups, IdempotencyConflictError, IdempotencyUnprocessableError, InboundAchTransferReturns, InboundWireDrawdownRequests, InsufficientPermissionsError, InternalServerError, InvalidApiKeyError, InvalidOperationError, InvalidParametersError, Limits, MalformedRequestError, OauthConnections, ObjectNotFoundError, PendingTransactions, PrivateFeatureError, RateLimitedError, RealTimeDecisions, Resource, ResponseArray, ResponseHash, RoutingNumbers, Transactions, WebhookSignatureVerificationError, WireDrawdownRequests, WireTransfers

Constant Summary collapse

PRODUCTION_URL =
"https://api.increase.com"
SANDBOX_URL =
"https://sandbox.increase.com"
ERROR_TYPES =
{
  "api_method_not_found_error" => ApiMethodNotFoundError,
  "environment_mismatch_error" => EnvironmentMismatchError,
  "idempotency_conflict_error" => IdempotencyConflictError,
  "idempotency_unprocessable_error" => IdempotencyUnprocessableError,
  "insufficient_permissions_error" => InsufficientPermissionsError,
  "internal_server_error" => InternalServerError,
  "invalid_api_key_error" => InvalidApiKeyError,
  "invalid_operation_error" => InvalidOperationError,
  "invalid_parameters_error" => InvalidParametersError,
  "malformed_request_error" => MalformedRequestError,
  "object_not_found_error" => ObjectNotFoundError,
  "private_feature_error" => PrivateFeatureError,
  "rate_limited_error" => RateLimitedError
}
VERSION =
"0.3.3"

Class Attribute Summary collapse

Class Attribute Details

.default_clientObject

Returns the value of attribute default_client.



20
21
22
# File 'lib/increase.rb', line 20

def default_client
  @default_client
end