Class: Crunchbase::Model::Acquisition
- Defined in:
- lib/crunchbase/model/acquisition.rb
Constant Summary collapse
- RESOURCE_LIST =
'acquisitions'
Instance Attribute Summary collapse
-
#acquiree ⇒ Object
readonly
Returns the value of attribute acquiree.
-
#acquiree_total_items ⇒ Object
readonly
Returns the value of attribute acquiree_total_items.
-
#acquirer ⇒ Object
readonly
Returns the value of attribute acquirer.
-
#acquirer_total_items ⇒ Object
readonly
Returns the value of attribute acquirer_total_items.
-
#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.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
-
#web_path ⇒ Object
readonly
Returns the value of attribute web_path.
Attributes inherited from Entity
Instance Method Summary collapse
-
#initialize(json) ⇒ Acquisition
constructor
A new instance of Acquisition.
- #property_keys ⇒ Object
Methods inherited from Entity
array_from_list, #fetch, funding_rounds_lists, get, list, organization_lists, parsing_from_list, person_lists, total_items_from_list
Constructor Details
#initialize(json) ⇒ Acquisition
Returns a new instance of Acquisition.
18 19 20 21 22 23 24 |
# File 'lib/crunchbase/model/acquisition.rb', line 18 def initialize(json) super unless (relationships = json['relationships']).nil? instance_relationships_object(Crunchbase::Model::Organization, 'acquiree', relationships['acquiree']) end end |
Instance Attribute Details
#acquiree ⇒ Object (readonly)
Returns the value of attribute acquiree.
14 15 16 |
# File 'lib/crunchbase/model/acquisition.rb', line 14 def acquiree @acquiree end |
#acquiree_total_items ⇒ Object (readonly)
Returns the value of attribute acquiree_total_items.
16 17 18 |
# File 'lib/crunchbase/model/acquisition.rb', line 16 def acquiree_total_items @acquiree_total_items end |
#acquirer ⇒ Object (readonly)
Returns the value of attribute acquirer.
14 15 16 |
# File 'lib/crunchbase/model/acquisition.rb', line 14 def acquirer @acquirer end |
#acquirer_total_items ⇒ Object (readonly)
Returns the value of attribute acquirer_total_items.
16 17 18 |
# File 'lib/crunchbase/model/acquisition.rb', line 16 def acquirer_total_items @acquirer_total_items end |
#acquisition_status ⇒ Object (readonly)
Returns the value of attribute acquisition_status.
8 9 10 |
# File 'lib/crunchbase/model/acquisition.rb', line 8 def acquisition_status @acquisition_status end |
#acquisition_type ⇒ Object (readonly)
Returns the value of attribute acquisition_type.
8 9 10 |
# File 'lib/crunchbase/model/acquisition.rb', line 8 def acquisition_type @acquisition_type end |
#announced_on ⇒ Object (readonly)
Returns the value of attribute announced_on.
8 9 10 |
# File 'lib/crunchbase/model/acquisition.rb', line 8 def announced_on @announced_on end |
#announced_on_trust_code ⇒ Object (readonly)
Returns the value of attribute announced_on_trust_code.
8 9 10 |
# File 'lib/crunchbase/model/acquisition.rb', line 8 def announced_on_trust_code @announced_on_trust_code end |
#api_path ⇒ Object (readonly)
Returns the value of attribute api_path.
8 9 10 |
# File 'lib/crunchbase/model/acquisition.rb', line 8 def api_path @api_path end |
#completed_on ⇒ Object (readonly)
Returns the value of attribute completed_on.
8 9 10 |
# File 'lib/crunchbase/model/acquisition.rb', line 8 def completed_on @completed_on end |
#completed_on_trust_code ⇒ Object (readonly)
Returns the value of attribute completed_on_trust_code.
8 9 10 |
# File 'lib/crunchbase/model/acquisition.rb', line 8 def completed_on_trust_code @completed_on_trust_code end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
8 9 10 |
# File 'lib/crunchbase/model/acquisition.rb', line 8 def created_at @created_at end |
#disposition_of_acquired ⇒ Object (readonly)
Returns the value of attribute disposition_of_acquired.
8 9 10 |
# File 'lib/crunchbase/model/acquisition.rb', line 8 def disposition_of_acquired @disposition_of_acquired end |
#payment_type ⇒ Object (readonly)
Returns the value of attribute payment_type.
8 9 10 |
# File 'lib/crunchbase/model/acquisition.rb', line 8 def payment_type @payment_type end |
#price ⇒ Object (readonly)
Returns the value of attribute price.
8 9 10 |
# File 'lib/crunchbase/model/acquisition.rb', line 8 def price @price end |
#price_currency_code ⇒ Object (readonly)
Returns the value of attribute price_currency_code.
8 9 10 |
# File 'lib/crunchbase/model/acquisition.rb', line 8 def price_currency_code @price_currency_code end |
#price_usd ⇒ Object (readonly)
Returns the value of attribute price_usd.
8 9 10 |
# File 'lib/crunchbase/model/acquisition.rb', line 8 def price_usd @price_usd end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at.
8 9 10 |
# File 'lib/crunchbase/model/acquisition.rb', line 8 def updated_at @updated_at end |
#web_path ⇒ Object (readonly)
Returns the value of attribute web_path.
8 9 10 |
# File 'lib/crunchbase/model/acquisition.rb', line 8 def web_path @web_path end |
Instance Method Details
#property_keys ⇒ Object
26 27 28 29 30 31 32 33 |
# File 'lib/crunchbase/model/acquisition.rb', line 26 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 |