Module: FreshchatWhatsapp

Defined in:
lib/freshchat_whatsapp/api.rb,
lib/freshchat_whatsapp/client.rb,
lib/freshchat_whatsapp/version.rb,
lib/freshchat_whatsapp/configuration.rb,
lib/freshchat_whatsapp/errors/request_error.rb,
lib/freshchat_whatsapp/actions/send_hsm_message.rb,
lib/freshchat_whatsapp/actions/check_message_status.rb

Defined Under Namespace

Modules: Actions, Errors Classes: Api, Client, Configuration

Constant Summary collapse

VERSION =
'0.1.5'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



5
6
7
# File 'lib/freshchat_whatsapp/configuration.rb', line 5

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



8
9
10
11
# File 'lib/freshchat_whatsapp/configuration.rb', line 8

def self.configure
  self.configuration ||= Configuration.new
  yield(configuration)
end