Class: Crunchbase::AdvisorAt
- Defined in:
- lib/crunchbase/advisor_at.rb
Constant Summary collapse
- RESOURCE_LIST =
'advisor_at'
Constants inherited from CBEntity
Instance Attribute Summary collapse
-
#organization_name ⇒ Object
readonly
Returns the value of attribute organization_name.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(json) ⇒ AdvisorAt
constructor
A new instance of AdvisorAt.
Methods inherited from CBEntity
array_from_list, category_lists_by_permalink, #fetch, get, list, lists_for_permalink, lists_for_person_permalink, parsing_from_list, search, total_items_from_list
Constructor Details
#initialize(json) ⇒ AdvisorAt
Returns a new instance of AdvisorAt.
12 13 14 15 |
# File 'lib/crunchbase/advisor_at.rb', line 12 def initialize(json) @organization_name = json['organization_name'] @title = json['title'] end |
Instance Attribute Details
#organization_name ⇒ Object (readonly)
Returns the value of attribute organization_name.
10 11 12 |
# File 'lib/crunchbase/advisor_at.rb', line 10 def organization_name @organization_name end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
10 11 12 |
# File 'lib/crunchbase/advisor_at.rb', line 10 def title @title end |