Class: Bitport::Config

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



5
6
7
8
9
10
# File 'lib/bitport/config.rb', line 5

def initialize
  @application_id = ''
  @secret         = ''
  @user_code      = ''
  @access_token   = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6IjgxNzUxODY0ODgxZDFhODNjMzFiMTM2YWI2YzU2MTUwZjY4N2U3MWFlZjg5NmZhMTgwNDc2ZjZkNDNlNTA3MDAzOTlkZjVhMzUwYmNkNGUxIn0.eyJhdWQiOiIzNDYyNSIsImp0aSI6IjgxNzUxODY0ODgxZDFhODNjMzFiMTM2YWI2YzU2MTUwZjY4N2U3MWFlZjg5NmZhMTgwNDc2ZjZkNDNlNTA3MDAzOTlkZjVhMzUwYmNkNGUxIiwiaWF0IjoxNTc1MTQ1NDgyLCJuYmYiOjE1NzUxNDU0ODIsImV4cCI6MTczMjk5ODI4Miwic3ViIjoiMjI0MTE1OCIsInNjb3BlcyI6W119.GdrKmPRK8o7V37zjaA8ceoSbWNZSTJlhGtlkMLu122aBbqZiGQoxM4F9FAriNezMrgZjEabGN1cWph9sdxba1Xrxwk52wuF8994-Ers9hkXN_TlTMIAzw74Zauis2SDRAbSIhECRU27_zacZNqEZ2MkGqky_PU3nBWidH8TTMd0", "refresh_token"=>"def502006fde8d91eb7b892ba9aaba1601a7bcd096c62effb7c17eae54404e773da03e41caa785aa66622f29721add13127119643bbe57d4802de4a5aaebd0ced22b0d57338424930847127ce20f4256d2fa587b4944f96c1ee268c73c7627a3d242c7154f15b17b434e6b6f8a3140e3b7871afc399a2ae080c6bc5f7612d27eae1a4abc704f5a9fe84d3a275ae95f347a8a9b89cf262419160af08435320228f26522b608a5151fcc22218215601840337d2e85768c678832e26514b96ca4160ae3e036e7b52b6b0384eed147927699568a692b6bf035126cbf85b4b86aab17a7c61e97206c0f2a7906d41953f6863105b48d3b2c4d57e6287b1c2e72aff0f61d8e042153a804b9c89e8570c22a107cfc0a0c83e60469f504cfc4f345cda9860c9bdb7e00b9e68ab5fd6c8bcabd9940d1c7fbbfb075a486585a0acd7cc03c11a4cd6c4fc7e810e53019849c013673cbec56e7f39f3f22d80fce4c14b3e4afe973c323c0fe6aad38e81761'
end

Instance Attribute Details

#access_tokenObject

Returns the value of attribute access_token.



3
4
5
# File 'lib/bitport/config.rb', line 3

def access_token
  @access_token
end

#application_idObject

Returns the value of attribute application_id.



3
4
5
# File 'lib/bitport/config.rb', line 3

def application_id
  @application_id
end

#secretObject

Returns the value of attribute secret.



3
4
5
# File 'lib/bitport/config.rb', line 3

def secret
  @secret
end

#user_codeObject

Returns the value of attribute user_code.



3
4
5
# File 'lib/bitport/config.rb', line 3

def user_code
  @user_code
end