Class: BittrexRuby::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/bittrex_ruby.rb

Overview

Handles the Bittrex API keys

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



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

def initialize
  @key = ''
  @secret = ''
end

Instance Attribute Details

#keyObject

Returns the value of attribute key.



21
22
23
# File 'lib/bittrex_ruby.rb', line 21

def key
  @key
end

#secretObject

Returns the value of attribute secret.



21
22
23
# File 'lib/bittrex_ruby.rb', line 21

def secret
  @secret
end