Sha256: dd8afea4a86c0772fd584bd9475f78c0ecb277782784e825866f0db59496d264

Contents?: true

Size: 272 Bytes

Versions: 6

Compression:

Stored size: 272 Bytes

Contents

# frozen_string_literal: true

module Whatsapp
  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/whatsapp/configuration.rb
freshchat_whatsapp-0.1.4 lib/whatsapp/configuration.rb
freshchat_whatsapp-0.1.3 lib/whatsapp/configuration.rb
freshchat_whatsapp-0.1.2 lib/whatsapp/configuration.rb
freshchat_whatsapp-0.1.1 lib/whatsapp/configuration.rb
freshchat_whatsapp-0.1.0 lib/whatsapp/configuration.rb