Sha256: 339d0c77a49988cc99564e5721fd92acad3de096e42b7195947cc1f205b61084

Contents?: true

Size: 473 Bytes

Versions: 3

Compression:

Stored size: 473 Bytes

Contents

RestCore::Universal = RestCore::Builder.client(:data) do
  s = self.class # this is only for ruby 1.8!
  use s::Timeout       , 0

  use s::DefaultSite   , nil
  use s::DefaultHeaders, {}
  use s::DefaultQuery  , {}

  use s::CommonLogger  , method(:puts)
  use s::AuthBasic     , nil, nil
  use s::Cache         ,  {}, 600 do
    use s::ErrorHandler, nil
    use s::ErrorDetectorHttp
    use s::JsonDecode  , false
  end

  use s::Defaults      , :data => lambda{{}}
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rest-core-0.8.2 lib/rest-core/client/universal.rb
rest-core-0.8.1 lib/rest-core/client/universal.rb
rest-core-0.8.0 lib/rest-core/client/universal.rb