Class: Remit::BaseResponse

Inherits:
Relax::Response show all
Defined in:
lib/remit/common.rb

Direct Known Subclasses

Amount, CancelSubscriptionAndRefund::Response::CancelSubscriptionAndRefundResult, DescriptorPolicy, Error, FundPrepaid::Response::FundPrepaidResult, GetAccountActivity::Response::GetAccountActivityResult, GetAccountBalance::Response::GetAccountBalanceResult, GetAccountBalance::Response::GetAccountBalanceResult::AccountBalance, GetAccountBalance::Response::GetAccountBalanceResult::AccountBalance::AvailableBalances, GetDebtBalance::Response::GetDebtBalanceResult, GetDebtBalance::Response::GetDebtBalanceResult::DebtBalance, GetOutstandingDebtBalance::Response::GetOutstandingDebtBalanceResult, GetOutstandingDebtBalance::Response::GetOutstandingDebtBalanceResult::OutstandingDebtBalance, GetPrepaidBalance::Response::GetPrepaidBalanceResult, GetPrepaidBalance::Response::GetPrepaidBalanceResult::PrepaidBalance, GetRecipientVerificationStatus::Response::GetRecipientVerificationStatusResult, GetTokenByCaller::Response::GetTokenByCallerResult, GetTokenUsage::Response::GetTokenUsageResult, GetTokens::Response::GetTokensResult, GetTotalPrepaidLiability::Response::GetTotalPrepaidLiabilityResult, GetTotalPrepaidLiability::Response::GetTotalPrepaidLiabilityResult::OutstandingPrepaidLiability, GetTransactionStatus::Response::GetTransactionStatusResult, InstallPaymentInstruction::Response::InstallPaymentInstructionResult, Response, ResponseMetadata, ServiceError, TemporaryDeclinePolicy, Token, TokenUsageLimit, Transaction, TransactionPart, TransactionResponse, VerifySignature::Response::VerifySignatureResult

Instance Method Summary collapse

Methods inherited from Relax::Response

alias_for_parameter, parameter

Instance Method Details

#node_name(name, namespace = nil) ⇒ Object



26
27
28
# File 'lib/remit/common.rb', line 26

def node_name(name, namespace=nil)
  super(name.to_s.gsub(/(^|_)(.)/) { $2.upcase }, namespace)
end