Class: Yardi::Parameter::Agent
- Inherits:
-
Object
- Object
- Yardi::Parameter::Agent
- 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
-
#first_name ⇒ Object
readonly
Returns the value of attribute first_name.
-
#last_name ⇒ Object
readonly
Returns the value of attribute last_name.
Instance Method Summary collapse
-
#initialize(first_name:, last_name:) ⇒ Agent
constructor
A new instance of Agent.
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_name ⇒ Object (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_name ⇒ Object (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 |