Class: WhatsAppCloudApi::Types::BusinessProfileEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/whatsapp_cloud_api/types.rb

Overview

Business profile structures

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#aboutObject (readonly)

Returns the value of attribute about.



149
150
151
# File 'lib/whatsapp_cloud_api/types.rb', line 149

def about
  @about
end

#addressObject (readonly)

Returns the value of attribute address.



149
150
151
# File 'lib/whatsapp_cloud_api/types.rb', line 149

def address
  @address
end

#descriptionObject (readonly)

Returns the value of attribute description.



149
150
151
# File 'lib/whatsapp_cloud_api/types.rb', line 149

def description
  @description
end

#emailObject (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_handleObject (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_urlObject (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

#verticalObject (readonly)

Returns the value of attribute vertical.



149
150
151
# File 'lib/whatsapp_cloud_api/types.rb', line 149

def vertical
  @vertical
end

#websitesObject (readonly)

Returns the value of attribute websites.



149
150
151
# File 'lib/whatsapp_cloud_api/types.rb', line 149

def websites
  @websites
end