class Fountain::BackgroundCheck

Fountain Background Check

Attributes

raw_data[R]

Raw background check data

Public Class Methods

new(data) click to toggle source

@param [Hash] data Raw background check data

# File lib/fountain/background_check.rb, line 14
def initialize(data)
  @raw_data = Util.stringify_hash_keys data
end

Public Instance Methods

candidate_id() click to toggle source

Candidate ID

# File lib/fountain/background_check.rb, line 34
def candidate_id
  raw_data['candidate_id']
end
inspect() click to toggle source
# File lib/fountain/background_check.rb, line 43
def inspect
  format(
    '#<%<class_name>s:0x%<object_id>p @title="%<title>s" @status="%<status>s">',
    class_name: self.class.name,
    object_id: object_id,
    title: title,
    status: status
  )
end
report_id() click to toggle source

Report ID

# File lib/fountain/background_check.rb, line 39
def report_id
  raw_data['report_id']
end
status() click to toggle source

Status

# File lib/fountain/background_check.rb, line 24
def status
  raw_data['status']
end
title() click to toggle source

Title

# File lib/fountain/background_check.rb, line 19
def title
  raw_data['title']
end
vendor() click to toggle source

Vendor

# File lib/fountain/background_check.rb, line 29
def vendor
  raw_data['vendor']
end