Class: Agent

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(label, account) ⇒ Agent

Returns a new instance of Agent.



33
34
35
36
# File 'lib/ulms_client.rb', line 33

def initialize(label, )
  @label = label
  @account = 
end

Instance Attribute Details

#accountObject (readonly)

Returns the value of attribute account.



31
32
33
# File 'lib/ulms_client.rb', line 31

def 
  @account
end

#labelObject (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_sObject



38
39
40
# File 'lib/ulms_client.rb', line 38

def to_s
  "#{@label}.#{@account}"
end