Module: Scalr

Defined in:
lib/scalr/version.rb,
lib/scalr.rb,
lib/scalr/request.rb,
lib/scalr/response.rb

Overview

:nodoc

Defined Under Namespace

Classes: Request, Response

Constant Summary collapse

VERSION =
"0.2.2"
@@endpoint =
"api.scalr.net"
@@key_id =
nil
@@access_key =
nil
@@version =
"2.0.0"

Class Method Summary collapse

Class Method Details

.method_missing(method_id, *arguments) ⇒ Object



25
26
27
28
29
30
31
32
# File 'lib/scalr.rb', line 25

def method_missing(method_id, *arguments)
  if matches_action? method_id
    request = Scalr::Request.new(method_id, @@endpoint, @@key_id, @@access_key, @@version, arguments)
    return request.process!
  else
    super
  end
end