Class: Agent
- Inherits:
-
Object
- Object
- Agent
- Defined in:
- lib/ulms_client.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
readonly
Returns the value of attribute account.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
Instance Method Summary collapse
-
#initialize(label, account) ⇒ Agent
constructor
A new instance of Agent.
- #to_s ⇒ Object
Constructor Details
Instance Attribute Details
#account ⇒ Object (readonly)
Returns the value of attribute account.
31 32 33 |
# File 'lib/ulms_client.rb', line 31 def account @account end |
#label ⇒ Object (readonly)
Returns the value of attribute label.
31 32 33 |
# File 'lib/ulms_client.rb', line 31 def label @label end |
Instance Method Details
#to_s ⇒ Object
38 39 40 |
# File 'lib/ulms_client.rb', line 38 def to_s "#{@label}.#{@account}" end |