Class: Peaty::User

Inherits:
Base show all
Defined in:
lib/peaty/user.rb

Constant Summary

Constants inherited from Base

Base::FILTERS

Instance Attribute Summary

Attributes inherited from Base

#attributes, #connection, #error

Class Method Summary collapse

Methods inherited from Base

all, build, #error?, filter_options, find, find_by_id, first, #id, #initialize, #method_missing, #new_record?, parse, #respond_to?, #save, with_connection

Constructor Details

This class inherits a constructor from Peaty::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Peaty::Base

Class Method Details

.elementObject



7
8
9
# File 'lib/peaty/user.rb', line 7

def element
  "person"
end