Class: LVS::JsonService::Base

Inherits:
Object
  • Object
show all
Includes:
Request
Defined in:
lib/lvs/json_service/base.rb

Constant Summary collapse

@@services =
[]
@@cache =
CACHE
@@service_prefix =
""

Instance Attribute Summary collapse

Method Summary

Methods included from Request

included

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(*args) ⇒ Object (protected)



170
171
172
173
# File 'lib/lvs/json_service/base.rb', line 170

def method_missing(*args)
  self.class.debug("Method #{args[0]} called on #{self.class} but is non-existant, returned default FALSE")
  super
end

Instance Attribute Details

#fieldsObject

Returns the value of attribute fields.



13
14
15
# File 'lib/lvs/json_service/base.rb', line 13

def fields
  @fields
end