Sha256: e9b79d5881db209e1383e04a3131506ac274ab8dcb44b7dd3e704bdd238c8848

Contents?: true

Size: 306 Bytes

Versions: 13

Compression:

Stored size: 306 Bytes

Contents

require 'contracts'
require_relative 'config'

module Fuselage
  module Support
    module Params
      include ::Contracts::Core
      include ::Contracts::Builtin
      include Config

      Contract None => Hash
      def params
        @params ||= config.fetch 'params', {}
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
concourse-fuselage-0.5.8 lib/concourse-fuselage/support/params.rb
concourse-fuselage-0.5.7 lib/concourse-fuselage/support/params.rb
concourse-fuselage-0.5.2 lib/concourse-fuselage/support/params.rb
concourse-fuselage-0.5.1 lib/concourse-fuselage/support/params.rb
concourse-fuselage-0.5.0 lib/concourse-fuselage/support/params.rb
concourse-fuselage-0.4.1 lib/concourse-fuselage/support/params.rb
concourse-fuselage-0.4.0 lib/concourse-fuselage/support/params.rb
concourse-fuselage-0.3.2 lib/concourse-fuselage/support/params.rb
concourse-fuselage-0.3.1 lib/concourse-fuselage/support/params.rb
concourse-fuselage-0.3.0 lib/concourse-fuselage/support/params.rb
concourse-fuselage-0.2.0 lib/concourse-fuselage/support/params.rb
concourse-fuselage-0.1.1 lib/concourse-fuselage/support/params.rb
concourse-fuselage-0.1.0 lib/concourse-fuselage/support/params.rb