Class: VWorkApp::Worker

Inherits:
Resource show all
Defined in:
lib/vworkapp_ruby/worker.rb

Instance Method Summary collapse

Methods inherited from Resource

bad_response, #create, #delete, find, perform, #perform, #persisted?, resource_name, #resource_name, show, #update

Methods inherited from Base

#attributes, #attributes=, #attributes_eql?, hattr_accessor, hattr_reader, hattr_writer, hattrs, #hattrs, #initialize, #read_attributes, #read_attributes=, read_hattrs, #read_hattrs, #validate_and_raise, #write_attributes, #write_attributes=, #write_hattrs, write_hattrs

Constructor Details

This class inherits a constructor from VWorkApp::Base

Instance Method Details

#==(other) ⇒ Object



6
7
8
# File 'lib/vworkapp_ruby/worker.rb', line 6

def ==(other)
  attributes_eql?(other, :id, :name, :email, :third_party_id)
end