Class: Crunchbase::Model::AcquiredBy
- Defined in:
- lib/crunchbase/model/acquired_by.rb
Constant Summary collapse
- RESOURCE_LIST =
'acquired_by'.freeze
Instance Attribute Summary collapse
-
#acquiree ⇒ Object
readonly
Returns the value of attribute acquiree.
-
#acquirer ⇒ Object
readonly
Returns the value of attribute acquirer.
-
#acquisition_status ⇒ Object
readonly
Returns the value of attribute acquisition_status.
-
#acquisition_type ⇒ Object
readonly
Returns the value of attribute acquisition_type.
-
#announced_on ⇒ Object
readonly
Returns the value of attribute announced_on.
-
#announced_on_trust_code ⇒ Object
readonly
Returns the value of attribute announced_on_trust_code.
-
#api_path ⇒ Object
readonly
Returns the value of attribute api_path.
-
#completed_on ⇒ Object
readonly
Returns the value of attribute completed_on.
-
#completed_on_trust_code ⇒ Object
readonly
Returns the value of attribute completed_on_trust_code.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#disposition_of_acquired ⇒ Object
readonly
Returns the value of attribute disposition_of_acquired.
-
#payment_type ⇒ Object
readonly
Returns the value of attribute payment_type.
-
#price ⇒ Object
readonly
Returns the value of attribute price.
-
#price_currency_code ⇒ Object
readonly
Returns the value of attribute price_currency_code.
-
#price_usd ⇒ Object
readonly
Returns the value of attribute price_usd.
-
#type_name ⇒ Object
readonly
Returns the value of attribute type_name.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
-
#uuid ⇒ Object
readonly
Returns the value of attribute uuid.
-
#web_path ⇒ Object
readonly
Returns the value of attribute web_path.
Instance Method Summary collapse
- #date_keys ⇒ Object
-
#initialize(json) ⇒ AcquiredBy
constructor
A new instance of AcquiredBy.
- #property_keys ⇒ Object
- #relationship_lists ⇒ Object
Methods inherited from Entity
#convert_date!, #fetch, #instance_multi_relationship_objects, #instance_relationships_object, #instance_timestamps, #one_to_many, #one_to_one, #parse_hash_items, #set_relationships_object, #set_variables, #setup_relationships_data!, #special_relationship, #verify_item?
Methods included from Request::Client
#api, #array_from_list, #funding_rounds_lists, #get, #kclass_name, #list, #organization_lists, #parsing_from_list, #person_lists, #total_items_from_list
Constructor Details
#initialize(json) ⇒ AcquiredBy
Returns a new instance of AcquiredBy.
14 15 16 |
# File 'lib/crunchbase/model/acquired_by.rb', line 14 def initialize(json) super(json) end |
Instance Attribute Details
#acquiree ⇒ Object (readonly)
Returns the value of attribute acquiree.
9 10 11 |
# File 'lib/crunchbase/model/acquired_by.rb', line 9 def acquiree @acquiree end |
#acquirer ⇒ Object (readonly)
Returns the value of attribute acquirer.
9 10 11 |
# File 'lib/crunchbase/model/acquired_by.rb', line 9 def acquirer @acquirer end |
#acquisition_status ⇒ Object (readonly)
Returns the value of attribute acquisition_status.
9 10 11 |
# File 'lib/crunchbase/model/acquired_by.rb', line 9 def acquisition_status @acquisition_status end |
#acquisition_type ⇒ Object (readonly)
Returns the value of attribute acquisition_type.
9 10 11 |
# File 'lib/crunchbase/model/acquired_by.rb', line 9 def acquisition_type @acquisition_type end |
#announced_on ⇒ Object (readonly)
Returns the value of attribute announced_on.
9 10 11 |
# File 'lib/crunchbase/model/acquired_by.rb', line 9 def announced_on @announced_on end |
#announced_on_trust_code ⇒ Object (readonly)
Returns the value of attribute announced_on_trust_code.
9 10 11 |
# File 'lib/crunchbase/model/acquired_by.rb', line 9 def announced_on_trust_code @announced_on_trust_code end |
#api_path ⇒ Object (readonly)
Returns the value of attribute api_path.
9 10 11 |
# File 'lib/crunchbase/model/acquired_by.rb', line 9 def api_path @api_path end |
#completed_on ⇒ Object (readonly)
Returns the value of attribute completed_on.
9 10 11 |
# File 'lib/crunchbase/model/acquired_by.rb', line 9 def completed_on @completed_on end |
#completed_on_trust_code ⇒ Object (readonly)
Returns the value of attribute completed_on_trust_code.
9 10 11 |
# File 'lib/crunchbase/model/acquired_by.rb', line 9 def completed_on_trust_code @completed_on_trust_code end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
9 10 11 |
# File 'lib/crunchbase/model/acquired_by.rb', line 9 def created_at @created_at end |
#disposition_of_acquired ⇒ Object (readonly)
Returns the value of attribute disposition_of_acquired.
9 10 11 |
# File 'lib/crunchbase/model/acquired_by.rb', line 9 def disposition_of_acquired @disposition_of_acquired end |
#payment_type ⇒ Object (readonly)
Returns the value of attribute payment_type.
9 10 11 |
# File 'lib/crunchbase/model/acquired_by.rb', line 9 def payment_type @payment_type end |
#price ⇒ Object (readonly)
Returns the value of attribute price.
9 10 11 |
# File 'lib/crunchbase/model/acquired_by.rb', line 9 def price @price end |
#price_currency_code ⇒ Object (readonly)
Returns the value of attribute price_currency_code.
9 10 11 |
# File 'lib/crunchbase/model/acquired_by.rb', line 9 def price_currency_code @price_currency_code end |
#price_usd ⇒ Object (readonly)
Returns the value of attribute price_usd.
9 10 11 |
# File 'lib/crunchbase/model/acquired_by.rb', line 9 def price_usd @price_usd end |
#type_name ⇒ Object (readonly)
Returns the value of attribute type_name.
9 10 11 |
# File 'lib/crunchbase/model/acquired_by.rb', line 9 def type_name @type_name end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at.
9 10 11 |
# File 'lib/crunchbase/model/acquired_by.rb', line 9 def updated_at @updated_at end |
#uuid ⇒ Object (readonly)
Returns the value of attribute uuid.
9 10 11 |
# File 'lib/crunchbase/model/acquired_by.rb', line 9 def uuid @uuid end |
#web_path ⇒ Object (readonly)
Returns the value of attribute web_path.
9 10 11 |
# File 'lib/crunchbase/model/acquired_by.rb', line 9 def web_path @web_path end |
Instance Method Details
#date_keys ⇒ Object
29 30 31 |
# File 'lib/crunchbase/model/acquired_by.rb', line 29 def date_keys %w(announced_on completed_on) end |
#property_keys ⇒ Object
25 26 27 |
# File 'lib/crunchbase/model/acquired_by.rb', line 25 def property_keys %w(api_path web_path price price_currency_code price_usd payment_type acquisition_type acquisition_status disposition_of_acquired announced_on announced_on_trust_code completed_on completed_on_trust_code created_at updated_at) end |
#relationship_lists ⇒ Object
18 19 20 21 22 23 |
# File 'lib/crunchbase/model/acquired_by.rb', line 18 def relationship_lists { 'aquiree' => Organization, 'acquirer' => Organization } end |