Module: Paytunia

Defined in:
lib/paytunia.rb,
lib/paytunia/version.rb,
lib/paytunia/connection.rb,
lib/paytunia/api/account.rb,
lib/paytunia/api/trading.rb,
lib/paytunia/models/base.rb,
lib/paytunia/models/depth.rb,
lib/paytunia/models/trade.rb,
lib/paytunia/api/transfers.rb,
lib/paytunia/models/ticker.rb,
lib/paytunia/models/trade_order.rb,
lib/paytunia/models/account_operation.rb,
lib/paytunia/connection_wrappers/oauth_wrapper.rb,
lib/paytunia/connection_wrappers/basic_auth_wrapper.rb

Defined Under Namespace

Modules: Api, ConnectionWrappers Classes: Connection

Constant Summary collapse

VERSION =
'0.1.2'

Class Method Summary collapse

Class Method Details

.method_missing(method, *args, &block) ⇒ Object



40
41
42
# File 'lib/paytunia.rb', line 40

def self.method_missing(method, *args, &block)
  Paytunia::Connection.instance.respond_to?(method) ? Paytunia::Connection.instance.send(method, *args, &block) : super
end