Sha256: 0d233ac27de3680593e9991432fc02361bba4cffd9c4d163661aa77d34a53e1c

Contents?: true

Size: 390 Bytes

Versions: 1

Compression:

Stored size: 390 Bytes

Contents

module Punchr
  # Configuration settings for Punchr.
  module Configuration
    # API key.
    attr_accessor :api_key

    # Yield self to be able to configure Punchr with block-style configuration.
    #
    # Example:
    #
    #   Punchr.configure do |configuration|
    #     configuration.api_key = 'your-punchr-api-key'
    #   end
    def configure
      yield self
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
punchr-1.0.0 lib/punchr/configuration.rb