Sha256: d80b94b483175b930aeabdf7d0ab18adec6575ce4c9c5e0e8296f85b18f6cbc2

Contents?: true

Size: 281 Bytes

Versions: 6

Compression:

Stored size: 281 Bytes

Contents

# frozen_string_literal: true

module FreshchatWhatsapp
  class << self
    attr_accessor :configuration
  end

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

  class Configuration
    attr_accessor :base_path, :api_key
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
freshchat_whatsapp-0.1.5 lib/freshchat_whatsapp/configuration.rb
freshchat_whatsapp-0.1.4 lib/freshchat_whatsapp/configuration.rb
freshchat_whatsapp-0.1.3 lib/freshchat_whatsapp/configuration.rb
freshchat_whatsapp-0.1.2 lib/freshchat_whatsapp/configuration.rb
freshchat_whatsapp-0.1.1 lib/freshchat_whatsapp/configuration.rb
freshchat_whatsapp-0.1.0 lib/freshchat_whatsapp/configuration.rb