Module: Fed::Http

Defined in:
lib/fed/http.rb,
lib/fed/http/curb.rb,
lib/fed/http/errors.rb

Defined Under Namespace

Modules: Errors Classes: Curb

Class Attribute Summary collapse

Class Attribute Details

.clientObject



14
15
16
# File 'lib/fed/http.rb', line 14

def client
  @client ||= Fed::Http::Curb
end

.optionsObject



6
7
8
9
10
# File 'lib/fed/http.rb', line 6

def options
  @options ||= {
    :user_agent => "fed (Ruby feed parser) v.#{Fed::VERSION}"
  }
end