Class: Yardi::Parameter::Agent

Inherits:
Object
  • Object
show all
Defined in:
lib/yardi/parameter/agent.rb

Overview

Wrapper for a Yardi agent. An agent is required for guest card insertions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(first_name:, last_name:) ⇒ Agent

Returns a new instance of Agent.



7
8
9
10
# File 'lib/yardi/parameter/agent.rb', line 7

def initialize(first_name:, last_name:)
  @first_name = first_name
  @last_name = last_name
end

Instance Attribute Details

#first_nameObject (readonly)

Returns the value of attribute first_name.



5
6
7
# File 'lib/yardi/parameter/agent.rb', line 5

def first_name
  @first_name
end

#last_nameObject (readonly)

Returns the value of attribute last_name.



5
6
7
# File 'lib/yardi/parameter/agent.rb', line 5

def last_name
  @last_name
end