Sha256: acd0c8f15a74aa69c5d8e3c307bd0a7aaf651672bd5faff0ef51e0c61961b55c

Contents?: true

Size: 438 Bytes

Versions: 6

Compression:

Stored size: 438 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::Cache         , {}, 600 do
    use s::ErrorHandler, nil
    use s::ErrorDetectorHttp
    use s::JsonDecode  , false
  end

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

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
rest-core-0.7.2 lib/rest-core/client/universal.rb
rest-more-0.7.1 lib/rest-core/client/universal.rb
rest-core-0.7.0 lib/rest-core/client/universal.rb
rest-more-0.7.0 lib/rest-core/client/universal.rb
rest-core-0.4.0 lib/rest-core/client/universal.rb
rest-core-0.4.0.pre.2 lib/rest-core/client/universal.rb