Class: Em::Nordnet::Account
- Inherits:
-
Object
- Object
- Em::Nordnet::Account
- Defined in:
- lib/em-nordnet/account.rb
Instance Attribute Summary collapse
-
#alias ⇒ Object
Returns the value of attribute alias.
-
#default ⇒ Object
Returns the value of attribute default.
-
#id ⇒ Object
Returns the value of attribute id.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Account
constructor
A new instance of Account.
- #orders ⇒ Object
Constructor Details
#initialize(attributes = {}) ⇒ Account
Returns a new instance of Account.
16 17 18 19 20 |
# File 'lib/em-nordnet/account.rb', line 16 def initialize attributes={} self.id = attributes[:id] self.alias = attributes[:alias] self.default = attributes[:default] end |
Instance Attribute Details
#alias ⇒ Object
Returns the value of attribute alias.
4 5 6 |
# File 'lib/em-nordnet/account.rb', line 4 def alias @alias end |
#default ⇒ Object
Returns the value of attribute default.
4 5 6 |
# File 'lib/em-nordnet/account.rb', line 4 def default @default end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/em-nordnet/account.rb', line 4 def id @id end |