Module: AidsInfo

Defined in:
lib/aids_info.rb,
lib/aids_info/client.rb,
lib/aids_info/version.rb,
lib/aids_info/client/api.rb,
lib/aids_info/client/request.rb,
lib/aids_info/client/connection.rb

Defined Under Namespace

Classes: Client

Constant Summary collapse

VERSION =
"1.0.0"

Class Method Summary collapse

Class Method Details

.clientObject



5
6
7
# File 'lib/aids_info.rb', line 5

def self.client
  AidsInfo::Client.new
end

.method_missing(method, *args, &block) ⇒ Object



9
10
11
12
# File 'lib/aids_info.rb', line 9

def self.method_missing(method, *args, &block)
  return super unless client.respond_to?(method)
  client.send(method, *args, &block)
end

.respond_to?(method, include_private = false) ⇒ Boolean

Returns:

  • (Boolean)


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

def self.respond_to?(method, include_private=false)
  client.respond_to?(method, include_private) || super(method, include_private)
end