Class: FSR::Model::Agent
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- OpenStruct
- FSR::Model::Agent
- Defined in:
- lib/fsr/model/agent.rb
Instance Attribute Summary collapse
-
#extension ⇒ Object
Returns the value of attribute extension.
-
#full_name ⇒ Object
Returns the value of attribute full_name.
Instance Method Summary collapse
- #fields ⇒ Object
-
#initialize(fields, *data) ⇒ Agent
constructor
A new instance of Agent.
Methods inherited from OpenStruct
Constructor Details
Instance Attribute Details
#extension ⇒ Object
Returns the value of attribute extension.
5 6 7 |
# File 'lib/fsr/model/agent.rb', line 5 def extension @extension end |
#full_name ⇒ Object
Returns the value of attribute full_name.
5 6 7 |
# File 'lib/fsr/model/agent.rb', line 5 def full_name @full_name end |
Instance Method Details
#fields ⇒ Object
12 13 14 |
# File 'lib/fsr/model/agent.rb', line 12 def fields raise NotImplementedError, "This class is now an OpenStruct" end |