Method: WhatsappSdk::Api::BusinessProfile::InvalidVertical#initialize

Defined in:
lib/whatsapp_sdk/api/business_profile.rb

#initialize(vertical:) ⇒ InvalidVertical

Returns a new instance of InvalidVertical.



14
15
16
17
18
# File 'lib/whatsapp_sdk/api/business_profile.rb', line 14

def initialize(vertical:)
  @message = "invalid vertical #{vertical}. See the supported types in the official documentation " \
             "https://developers.facebook.com/docs/whatsapp/cloud-api/reference/business-profiles"
  super
end