Class: Quidax
- Inherits:
-
Object
- Object
- Quidax
- 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
-
#secret_key ⇒ Object
readonly
Returns the value of attribute secret_key.
Instance Method Summary collapse
-
#initialize(secret_key) ⇒ Quidax
constructor
A new instance of Quidax.
Constructor Details
#initialize(secret_key) ⇒ Quidax
Returns a new instance of Quidax.
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_key ⇒ Object (readonly)
Returns the value of attribute secret_key.
23 24 25 |
# File 'lib/quidax.rb', line 23 def secret_key @secret_key end |