Module: QuadrigaCX

Defined in:
lib/quadrigacx.rb,
lib/quadrigacx/coin.rb,
lib/quadrigacx/error.rb,
lib/quadrigacx/client.rb,
lib/quadrigacx/request.rb,
lib/quadrigacx/version.rb,
lib/quadrigacx/client/public.rb,
lib/quadrigacx/client/private.rb

Defined Under Namespace

Modules: Coin, Private, Public, Request Classes: AboveMaximumOrderValue, BelowMinimumOrderValue, Client, Configuration, ConfigurationError, Error, ExceedsAvailableBalance, NotFound, Unauthorized

Constant Summary collapse

VERSION =
'1.0.0'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



9
10
11
# File 'lib/quadrigacx.rb', line 9

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



12
13
14
15
# File 'lib/quadrigacx.rb', line 12

def self.configure
  self.configuration ||= Configuration.new
  yield(configuration)
end