Module: Apiary

Defined in:
lib/apiary.rb,
lib/apiary/version.rb,
lib/apiary/api_method.rb,
lib/apiary/async_response.rb

Defined Under Namespace

Modules: ClassMethods Classes: ApiMethod, AsyncResponse

Constant Summary collapse

VERSION =
'0.0.5'

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#async_responseObject

Returns the value of attribute async_response.



12
13
14
# File 'lib/apiary.rb', line 12

def async_response
  @async_response
end

#rack_envObject

Returns the value of attribute rack_env.



12
13
14
# File 'lib/apiary.rb', line 12

def rack_env
  @rack_env
end

Class Method Details

.included(cls) ⇒ Object



91
92
93
# File 'lib/apiary.rb', line 91

def self.included(cls)
  cls.instance_eval "class << self; include ClassMethods; end"
end