Class: Cb::Criteria::Resumes::GetByHash

Inherits:
Object
  • Object
show all
Extended by:
Utils::FluidAttributes
Defined in:
lib/cb/criteria/resumes/get_by_hash.rb

Instance Method Summary collapse

Methods included from Utils::FluidAttributes

fluid_attr_accessor

Constructor Details

#initialize(args = {}) ⇒ GetByHash

Returns a new instance of GetByHash.



19
20
21
22
# File 'lib/cb/criteria/resumes/get_by_hash.rb', line 19

def initialize(args = {})
  @resume_hash        = args[:resumeHash] || ''
  @external_user_id        = args[:externalUserID] || ''
end

Instance Method Details

#to_hashObject Also known as: to_h



24
25
26
# File 'lib/cb/criteria/resumes/get_by_hash.rb', line 24

def to_hash
  { resume_hash: @resume_hash, external_user_id: @external_user_id }
end