Class: DataComApi::Responses::CompanyContactCount
- Defined in:
- lib/data-com-api/responses/company_contact_count.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
- #departments ⇒ Object
-
#initialize(api_client, company_id, received_options) ⇒ CompanyContactCount
constructor
A new instance of CompanyContactCount.
- #levels ⇒ Object
- #size ⇒ Object
- #url ⇒ Object
Constructor Details
#initialize(api_client, company_id, received_options) ⇒ CompanyContactCount
Returns a new instance of CompanyContactCount.
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/data-com-api/responses/company_contact_count.rb', line 11 def initialize(api_client, company_id, ) @options = @id = company_id @levels = [] @departments = [] @url = nil @size = nil @requested = false super(api_client) end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
9 10 11 |
# File 'lib/data-com-api/responses/company_contact_count.rb', line 9 def id @id end |
Instance Method Details
#departments ⇒ Object
43 44 45 46 47 48 |
# File 'lib/data-com-api/responses/company_contact_count.rb', line 43 def departments return @departments if requested? perform_request_if_not_requested! @departments end |
#levels ⇒ Object
36 37 38 39 40 41 |
# File 'lib/data-com-api/responses/company_contact_count.rb', line 36 def levels return @levels if requested? perform_request_if_not_requested! @levels end |
#size ⇒ Object
22 23 24 25 26 27 |
# File 'lib/data-com-api/responses/company_contact_count.rb', line 22 def size return @size if requested? perform_request_if_not_requested! @size end |
#url ⇒ Object
29 30 31 32 33 34 |
# File 'lib/data-com-api/responses/company_contact_count.rb', line 29 def url return @url if requested? perform_request_if_not_requested! @url end |