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.
13 14 15 |
# File 'lib/crunchbase/model/acquired_by.rb', line 13 def initialize(json) super(json) end |
Instance Attribute Details
#acquiree ⇒ Object (readonly)
Returns the value of attribute acquiree.
8 9 10 |
# File 'lib/crunchbase/model/acquired_by.rb', line 8 def acquiree @acquiree end |
#acquirer ⇒ Object (readonly)
Returns the value of attribute acquirer.
8 9 10 |
# File 'lib/crunchbase/model/acquired_by.rb', line 8 def acquirer @acquirer end |
#acquisition_status ⇒ Object (readonly)
Returns the value of attribute acquisition_status.
8 9 10 |
# File 'lib/crunchbase/model/acquired_by.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/acquired_by.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/acquired_by.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/acquired_by.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/acquired_by.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/acquired_by.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/acquired_by.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/acquired_by.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/acquired_by.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/acquired_by.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/acquired_by.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/acquired_by.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/acquired_by.rb', line 8 def price_usd @price_usd end |
#type_name ⇒ Object (readonly)
Returns the value of attribute type_name.
8 9 10 |
# File 'lib/crunchbase/model/acquired_by.rb', line 8 def type_name @type_name end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at.
8 9 10 |
# File 'lib/crunchbase/model/acquired_by.rb', line 8 def updated_at @updated_at end |
#uuid ⇒ Object (readonly)
Returns the value of attribute uuid.
8 9 10 |
# File 'lib/crunchbase/model/acquired_by.rb', line 8 def uuid @uuid end |
#web_path ⇒ Object (readonly)
Returns the value of attribute web_path.
8 9 10 |
# File 'lib/crunchbase/model/acquired_by.rb', line 8 def web_path @web_path end |
Instance Method Details
#date_keys ⇒ Object
28 29 30 |
# File 'lib/crunchbase/model/acquired_by.rb', line 28 def date_keys %w(announced_on completed_on) end |
#property_keys ⇒ Object
24 25 26 |
# File 'lib/crunchbase/model/acquired_by.rb', line 24 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
17 18 19 20 21 22 |
# File 'lib/crunchbase/model/acquired_by.rb', line 17 def relationship_lists { 'aquiree' => Organization, 'acquirer' => Organization } end |