module SynapsePayRest
Namespace for all SynapsePayRest
classes and modules
Constants
- VERSION
Gem version
Public Class Methods
const_missing(const_name)
click to toggle source
Modifies the default method to print a warning when deprecated constants used and returns the new constant.
@param [Constant] @return [Constant] the corresponding constant that is not deprecated.
Calls superclass method
# 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