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.
340 341 342 343 344 |
# File 'lib/awis/models/url_info.rb', line 340 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.
338 339 340 |
# File 'lib/awis/models/url_info.rb', line 338 def company_stock_ticker @company_stock_ticker end |
#data_url ⇒ Object
Returns the value of attribute data_url.
338 339 340 |
# File 'lib/awis/models/url_info.rb', line 338 def data_url @data_url end |
#email ⇒ Object
Returns the value of attribute email.
338 339 340 |
# File 'lib/awis/models/url_info.rb', line 338 def email @email end |
#owner_name ⇒ Object
Returns the value of attribute owner_name.
338 339 340 |
# File 'lib/awis/models/url_info.rb', line 338 def owner_name @owner_name end |
#phone_numbers ⇒ Object
Returns the value of attribute phone_numbers.
338 339 340 |
# File 'lib/awis/models/url_info.rb', line 338 def phone_numbers @phone_numbers end |
#physical_address ⇒ Object
Returns the value of attribute physical_address.
338 339 340 |
# File 'lib/awis/models/url_info.rb', line 338 def physical_address @physical_address end |
Instance Method Details
#phone_number_collections(phone_numbers) ⇒ Object
346 347 348 349 350 |
# File 'lib/awis/models/url_info.rb', line 346 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 |