Class: Sellsy::Client
- Inherits:
-
Object
- Object
- Sellsy::Client
- Defined in:
- lib/sellsy/clients.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(id, name) ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize(id, name) ⇒ Client
Returns a new instance of Client.
8 9 10 11 |
# File 'lib/sellsy/clients.rb', line 8 def initialize(id, name) @id = id @name = name end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
5 6 7 |
# File 'lib/sellsy/clients.rb', line 5 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/sellsy/clients.rb', line 6 def name @name end |