Class: Quidax

Inherits:
Object
  • Object
show all
Defined in:
lib/quidax.rb,
lib/quidax/version.rb

Overview

Intialize a quidax config object

Constant Summary collapse

VERSION =
"0.1.0"

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(secret_key) ⇒ Quidax

Returns a new instance of Quidax.

Raises:

  • (ArgumentError)


25
26
27
28
29
# File 'lib/quidax.rb', line 25

def initialize(secret_key)
  raise ArgumentError, "Please pass your secret key" if secret_key.nil?

  @secret_key = secret_key
end

Instance Attribute Details

#secret_keyObject (readonly)

Returns the value of attribute secret_key.



23
24
25
# File 'lib/quidax.rb', line 23

def secret_key
  @secret_key
end