Method: Camper::Resource#method_missing

Defined in:
lib/camper/resource.rb

#method_missing(method_name, *args, &block) ⇒ Object (private)

Respond to messages for which ‘self.data` has a key



62
63
64
# File 'lib/camper/resource.rb', line 62

def method_missing(method_name, *args, &block)
  @data.key?(method_name.to_s) ? @data[method_name.to_s] : super
end