Class: Em::Nordnet::Config

Inherits:
Struct
  • Object
show all
Defined in:
lib/em-nordnet/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#passwordObject

Returns the value of attribute password

Returns:

  • (Object)

    the current value of password



3
4
5
# File 'lib/em-nordnet/config.rb', line 3

def password
  @password
end

#pemObject

Returns the value of attribute pem

Returns:

  • (Object)

    the current value of pem



3
4
5
# File 'lib/em-nordnet/config.rb', line 3

def pem
  @pem
end

#serviceObject

Returns the value of attribute service

Returns:

  • (Object)

    the current value of service



3
4
5
# File 'lib/em-nordnet/config.rb', line 3

def service
  @service
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



3
4
5
# File 'lib/em-nordnet/config.rb', line 3

def url
  @url
end

#userObject

Returns the value of attribute user

Returns:

  • (Object)

    the current value of user



3
4
5
# File 'lib/em-nordnet/config.rb', line 3

def user
  @user
end

Instance Method Details

#credentialsObject



4
5
6
# File 'lib/em-nordnet/config.rb', line 4

def credentials
  @credentials ||= generate_credentials
end