Module: EPA

Defined in:
lib/epa.rb,
lib/epa/client.rb,
lib/epa/version.rb,
lib/epa/client/pcs.rb,
lib/epa/client/request.rb,
lib/epa/client/rad_info.rb,
lib/epa/client/connection.rb

Defined Under Namespace

Classes: Client

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.client(options = {}) ⇒ Object



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

def self.client(options={})
  EPA::Client.new(options)
end

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



9
10
11
12
# File 'lib/epa.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/epa.rb', line 14

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