Sha256: eda59ec93c68a9e04747eb06c1beb474a52a7883dc300c5d3e6748f859d9a43d

Contents?: true

Size: 420 Bytes

Versions: 3

Compression:

Stored size: 420 Bytes

Contents

module BeeiqAPI
  class << self
    attr_accessor :configuration
  end

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

  class Configuration
    # The API key for your project.
    attr_accessor :webhook_url
    # The email sender in BeeIQ platform
    attr_accessor :sender_email

    def initialize
      @webhook_url= nil
      @sender_email = nil
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
beeiq_api-0.2.0 lib/configuration.rb
beeiq_api-0.1.1 lib/configuration.rb
beeiq_api-0.1.0 lib/configuration.rb