Class: WhatsAppCloudApi::Types::BusinessProfileEntry
- Inherits:
-
Object
- Object
- WhatsAppCloudApi::Types::BusinessProfileEntry
- Defined in:
- lib/whatsapp_cloud_api/types.rb
Overview
Business profile structures
Instance Attribute Summary collapse
-
#about ⇒ Object
readonly
Returns the value of attribute about.
-
#address ⇒ Object
readonly
Returns the value of attribute address.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#profile_picture_handle ⇒ Object
readonly
Returns the value of attribute profile_picture_handle.
-
#profile_picture_url ⇒ Object
readonly
Returns the value of attribute profile_picture_url.
-
#vertical ⇒ Object
readonly
Returns the value of attribute vertical.
-
#websites ⇒ Object
readonly
Returns the value of attribute websites.
Instance Method Summary collapse
-
#initialize(data) ⇒ BusinessProfileEntry
constructor
A new instance of BusinessProfileEntry.
Constructor Details
#initialize(data) ⇒ BusinessProfileEntry
Returns a new instance of BusinessProfileEntry.
152 153 154 155 156 157 158 159 160 161 |
# File 'lib/whatsapp_cloud_api/types.rb', line 152 def initialize(data) @about = data['about'] @address = data['address'] @description = data['description'] @email = data['email'] @websites = data['websites'] @vertical = data['vertical'] @profile_picture_url = data['profile_picture_url'] @profile_picture_handle = data['profile_picture_handle'] end |
Instance Attribute Details
#about ⇒ Object (readonly)
Returns the value of attribute about.
149 150 151 |
# File 'lib/whatsapp_cloud_api/types.rb', line 149 def about @about end |
#address ⇒ Object (readonly)
Returns the value of attribute address.
149 150 151 |
# File 'lib/whatsapp_cloud_api/types.rb', line 149 def address @address end |
#description ⇒ Object (readonly)
Returns the value of attribute description.
149 150 151 |
# File 'lib/whatsapp_cloud_api/types.rb', line 149 def description @description end |
#email ⇒ Object (readonly)
Returns the value of attribute email.
149 150 151 |
# File 'lib/whatsapp_cloud_api/types.rb', line 149 def email @email end |
#profile_picture_handle ⇒ Object (readonly)
Returns the value of attribute profile_picture_handle.
149 150 151 |
# File 'lib/whatsapp_cloud_api/types.rb', line 149 def profile_picture_handle @profile_picture_handle end |
#profile_picture_url ⇒ Object (readonly)
Returns the value of attribute profile_picture_url.
149 150 151 |
# File 'lib/whatsapp_cloud_api/types.rb', line 149 def profile_picture_url @profile_picture_url end |
#vertical ⇒ Object (readonly)
Returns the value of attribute vertical.
149 150 151 |
# File 'lib/whatsapp_cloud_api/types.rb', line 149 def vertical @vertical end |
#websites ⇒ Object (readonly)
Returns the value of attribute websites.
149 150 151 |
# File 'lib/whatsapp_cloud_api/types.rb', line 149 def websites @websites end |