Sha256: 665aa486623c7444aa41a3fb7f2453413412979f8de3878ca2917eff122eca38
Contents?: true
Size: 427 Bytes
Versions: 4
Compression:
Stored size: 427 Bytes
Contents
module Moneta module Api class Options def initialize(params) @params = params end def demo? @params[:demo_mode] end def logger @params[:logger] end def log_bodies? @params[:log_body] end def filter Array(@params[:filter]) end def open_timeout @params[:open_timeout] || 100 end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
moneta-api-2.1.0 | lib/moneta/api/options.rb |
moneta-api-2.0.0 | lib/moneta/api/options.rb |
moneta-api-2.0.0.rc2 | lib/moneta/api/options.rb |
moneta-api-2.0.0.rc1 | lib/moneta/api/options.rb |