Module: SMG::HTTP

Defined in:
lib/smg/http.rb,
lib/smg/http/hooks.rb,
lib/smg/http/request.rb,
lib/smg/http/exceptions.rb

Overview

:nodoc:

Defined Under Namespace

Modules: Hooks, Model Classes: ConnectionError, RedirectionError, Request, SSLError, TimeoutError

Constant Summary collapse

VERBS =
Hash[ Request::VERBS.map { |v| v.to_s.gsub(/^.*::/,'').downcase.to_sym }.zip(Request::VERBS) ]

Class Method Summary collapse

Class Method Details

.append_features(base) ⇒ Object



57
58
59
60
# File 'lib/smg/http.rb', line 57

def self.append_features(base)
  base.extend Model
  base.extend Hooks
end