Module: Apis::Adapter

Extended by:
Registerable
Defined in:
lib/apis.rb,
lib/apis/adapter/abstract.rb,
lib/apis/adapter/net_http.rb,
lib/apis/adapter/rack_test.rb

Defined Under Namespace

Classes: Abstract, NetHTTP, RackTest

Class Attribute Summary collapse

Method Summary

Methods included from Registerable

lookup, register

Class Attribute Details

.defaultObject

Default connection adapter You can change it by assignin new value



32
33
34
# File 'lib/apis.rb', line 32

def default
  @default ||= :net_http
end