Class: CtGov::Investigator
- Inherits:
-
Object
- Object
- CtGov::Investigator
- Defined in:
- lib/ct_gov/investigator.rb
Instance Method Summary collapse
- #affiliation ⇒ Object
-
#initialize(raw_investigator) ⇒ Investigator
constructor
A new instance of Investigator.
- #name ⇒ Object
- #role ⇒ Object
Constructor Details
#initialize(raw_investigator) ⇒ Investigator
Returns a new instance of Investigator.
4 5 6 |
# File 'lib/ct_gov/investigator.rb', line 4 def initialize(raw_investigator) @raw_investigator = raw_investigator end |
Instance Method Details
#affiliation ⇒ Object
8 9 10 |
# File 'lib/ct_gov/investigator.rb', line 8 def affiliation @raw_investigator['affiliation'] end |
#name ⇒ Object
12 13 14 |
# File 'lib/ct_gov/investigator.rb', line 12 def name @raw_investigator['last_name'] end |
#role ⇒ Object
16 17 18 |
# File 'lib/ct_gov/investigator.rb', line 16 def role @raw_investigator['role'] end |