Module: SynapsePayRest

Defined in:
lib/synapse_pay_rest.rb,
lib/synapse_pay_rest/error.rb,
lib/synapse_pay_rest/client.rb,
lib/synapse_pay_rest/version.rb,
lib/synapse_pay_rest/api/atms.rb,
lib/synapse_pay_rest/api/nodes.rb,
lib/synapse_pay_rest/api/users.rb,
lib/synapse_pay_rest/api/client.rb,
lib/synapse_pay_rest/api/subnets.rb,
lib/synapse_pay_rest/http_client.rb,
lib/synapse_pay_rest/api/statements.rb,
lib/synapse_pay_rest/models/atm/atm.rb,
lib/synapse_pay_rest/api/institutions.rb,
lib/synapse_pay_rest/api/transactions.rb,
lib/synapse_pay_rest/models/node/node.rb,
lib/synapse_pay_rest/models/user/user.rb,
lib/synapse_pay_rest/api/crypto_quotes.rb,
lib/synapse_pay_rest/api/subscriptions.rb,
lib/synapse_pay_rest/models/node/iou_node.rb,
lib/synapse_pay_rest/models/subnet/subnet.rb,
lib/synapse_pay_rest/models/user/document.rb,
lib/synapse_pay_rest/models/user/question.rb,
lib/synapse_pay_rest/models/node/base_node.rb,
lib/synapse_pay_rest/models/node/ach_us_node.rb,
lib/synapse_pay_rest/models/node/eft_np_node.rb,
lib/synapse_pay_rest/models/node/card_us_node.rb,
lib/synapse_pay_rest/models/node/eft_ind_node.rb,
lib/synapse_pay_rest/models/node/wire_us_node.rb,
lib/synapse_pay_rest/models/node/check_us_node.rb,
lib/synapse_pay_rest/models/node/wire_int_node.rb,
lib/synapse_pay_rest/models/user/base_document.rb,
lib/synapse_pay_rest/models/node/crypto_us_node.rb,
lib/synapse_pay_rest/models/statement/statement.rb,
lib/synapse_pay_rest/models/node/custody_us_node.rb,
lib/synapse_pay_rest/models/node/deposit_us_node.rb,
lib/synapse_pay_rest/models/node/reserve_us_node.rb,
lib/synapse_pay_rest/models/node/subcard_us_node.rb,
lib/synapse_pay_rest/models/node/synapse_np_node.rb,
lib/synapse_pay_rest/models/node/synapse_us_node.rb,
lib/synapse_pay_rest/models/node/unverified_node.rb,
lib/synapse_pay_rest/models/user/social_document.rb,
lib/synapse_pay_rest/models/node/clearing_us_node.rb,
lib/synapse_pay_rest/models/node/synapse_ind_node.rb,
lib/synapse_pay_rest/models/user/virtual_document.rb,
lib/synapse_pay_rest/models/user/physical_document.rb,
lib/synapse_pay_rest/models/client/issue_public_key.rb,
lib/synapse_pay_rest/models/institution/institution.rb,
lib/synapse_pay_rest/models/node/ib_deposit_us_node.rb,
lib/synapse_pay_rest/models/node/subaccount_us_node.rb,
lib/synapse_pay_rest/models/transaction/transaction.rb,
lib/synapse_pay_rest/models/node/interchange_us_node.rb,
lib/synapse_pay_rest/models/crypto_quote/crypto_quote.rb,
lib/synapse_pay_rest/models/subscription/subscription.rb,
lib/synapse_pay_rest/models/node/ib_subaccount_us_node.rb,
lib/synapse_pay_rest/models/node/triumph_subaccount_us_node.rb

Overview

Namespace for all SynapsePayRest classes and modules

Defined Under Namespace

Modules: Node Classes: AchUsNode, Atm, Atms, BaseDocument, BaseNode, CardUsNode, CheckUsNode, ClearingUsNode, Client, ClientEndpoint, CryptoQuote, CryptoQuotes, CryptoUsNode, CustodyUsNode, DepositUsNode, Document, EftIndNode, EftNpNode, Error, HTTPClient, IbDepositUsNode, IbSubaccountUsNode, Institution, Institutions, InterchangeUsNode, IouNode, Nodes, PhysicalDocument, PublicKey, Question, ReserveUsNode, SocialDocument, Statement, Statements, SubaccountUsNode, SubcardUsNode, Subnet, Subnets, Subscription, Subscriptions, SynapseIndNode, SynapseNpNode, SynapseUsNode, Transaction, Transactions, TriumphSubaccountUsNode, UnverifiedNode, User, Users, VirtualDocument, WireIntNode, WireUsNode

Constant Summary collapse

VERSION =

Gem version

'3.4.5'.freeze

Class Method Summary collapse

Class Method Details

.const_missing(const_name) ⇒ Constant

Modifies the default method to print a warning when deprecated constants used and returns the new constant.

Parameters:

  • (Constant)

Returns:

  • (Constant)

    the corresponding constant that is not deprecated.



103
104
105
106
107
108
# File 'lib/synapse_pay_rest.rb', line 103

def self.const_missing(const_name)
  super unless const_name == :Trans
  warn caller.first + " DEPRECATION WARNING: the class SynapsePayRest::#{const_name}"\
                      'is deprecated. Use SynapsePayRest::Transactions instead.'
  Transactions
end