Module: Fiddler::ConnectionManager

Defined in:
lib/fiddler/connection_manager.rb

Defined Under Namespace

Classes: Connection

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.client_connectionObject

Returns the value of attribute client_connection.



36
37
38
# File 'lib/fiddler/connection_manager.rb', line 36

def client_connection
  @client_connection
end

Class Method Details

.get(url, options = {}) ⇒ Object



38
39
40
41
42
43
# File 'lib/fiddler/connection_manager.rb', line 38

def get(url,options={})
   check_config
   response = connection.get(url,options)
   debug(response)
   response
end

.post(url, options = {}) ⇒ Object



45
46
47
48
49
50
# File 'lib/fiddler/connection_manager.rb', line 45

def post(url,options={})
   check_config
   response = connection.post(url,options)
   debug(response)
   response
end