Class: Awis::Models::ContactInfo
- Inherits:
-
BaseEntity
- Object
- BaseEntity
- Awis::Models::ContactInfo
- Defined in:
- lib/awis/models/url_info.rb
Instance Attribute Summary collapse
-
#company_stock_ticker ⇒ Object
Returns the value of attribute company_stock_ticker.
-
#data_url ⇒ Object
Returns the value of attribute data_url.
-
#email ⇒ Object
Returns the value of attribute email.
-
#owner_name ⇒ Object
Returns the value of attribute owner_name.
-
#phone_numbers ⇒ Object
Returns the value of attribute phone_numbers.
-
#physical_address ⇒ Object
Returns the value of attribute physical_address.
Instance Method Summary collapse
-
#initialize(options) ⇒ ContactInfo
constructor
A new instance of ContactInfo.
- #phone_number_collections(phone_numbers) ⇒ Object
Methods included from Utils::Variable
Constructor Details
#initialize(options) ⇒ ContactInfo
Returns a new instance of ContactInfo.
342 343 344 345 346 |
# File 'lib/awis/models/url_info.rb', line 342 def initialize() phone_numbers = .delete(:phone_numbers) super() phone_number_collections(phone_numbers) end |
Instance Attribute Details
#company_stock_ticker ⇒ Object
Returns the value of attribute company_stock_ticker.
340 341 342 |
# File 'lib/awis/models/url_info.rb', line 340 def company_stock_ticker @company_stock_ticker end |
#data_url ⇒ Object
Returns the value of attribute data_url.
340 341 342 |
# File 'lib/awis/models/url_info.rb', line 340 def data_url @data_url end |
#email ⇒ Object
Returns the value of attribute email.
340 341 342 |
# File 'lib/awis/models/url_info.rb', line 340 def email @email end |
#owner_name ⇒ Object
Returns the value of attribute owner_name.
340 341 342 |
# File 'lib/awis/models/url_info.rb', line 340 def owner_name @owner_name end |
#phone_numbers ⇒ Object
Returns the value of attribute phone_numbers.
340 341 342 |
# File 'lib/awis/models/url_info.rb', line 340 def phone_numbers @phone_numbers end |
#physical_address ⇒ Object
Returns the value of attribute physical_address.
340 341 342 |
# File 'lib/awis/models/url_info.rb', line 340 def physical_address @physical_address end |
Instance Method Details
#phone_number_collections(phone_numbers) ⇒ Object
348 349 350 351 352 |
# File 'lib/awis/models/url_info.rb', line 348 def phone_number_collections(phone_numbers) return @phone_numbers = [] if phone_numbers.nil? || phone_numbers.empty? phone_numbers.map { |item| @phone_numbers << PhoneNumber.new(item) } end |