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.



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

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

Instance Attribute Details

#accountObject (readonly)

Returns the value of attribute account.



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

def 
  @account
end

#labelObject (readonly)

Returns the value of attribute label.



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

def label
  @label
end

Instance Method Details

#to_sObject



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

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