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.



9
10
11
12
# File 'lib/cb/criteria/resumes/get_by_hash.rb', line 9

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

Instance Method Details

#to_hashObject Also known as: to_h



14
15
16
# File 'lib/cb/criteria/resumes/get_by_hash.rb', line 14

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