Class: Bigid::Bgcheck::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/bigid/bgcheck/result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(approved:, code:, score_details:, limit_score:, message:, raw_data:, raw_response:, related_score_details:, score:, ticket_id:) ⇒ Result

Returns a new instance of Result.



9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/bigid/bgcheck/result.rb', line 9

def initialize(approved:, code:, score_details:, limit_score:, message:, raw_data:, raw_response:,
               related_score_details:, score:, ticket_id:)
  @approved              = approved
  @code                  = code
  @score_details         = score_details
  @limit_score           = limit_score
  @message               = message
  @raw_data              = raw_data
  @raw_response          = raw_response
  @related_score_details = related_score_details
  @score                 = score
  @ticket_id             = ticket_id
end

Instance Attribute Details

#approvedObject

Returns the value of attribute approved.



6
7
8
# File 'lib/bigid/bgcheck/result.rb', line 6

def approved
  @approved
end

#codeObject

Returns the value of attribute code.



6
7
8
# File 'lib/bigid/bgcheck/result.rb', line 6

def code
  @code
end

#limit_scoreObject

Returns the value of attribute limit_score.



6
7
8
# File 'lib/bigid/bgcheck/result.rb', line 6

def limit_score
  @limit_score
end

#messageObject

Returns the value of attribute message.



6
7
8
# File 'lib/bigid/bgcheck/result.rb', line 6

def message
  @message
end

#raw_dataObject

Returns the value of attribute raw_data.



6
7
8
# File 'lib/bigid/bgcheck/result.rb', line 6

def raw_data
  @raw_data
end

#raw_responseObject

Returns the value of attribute raw_response.



6
7
8
# File 'lib/bigid/bgcheck/result.rb', line 6

def raw_response
  @raw_response
end

Returns the value of attribute related_score_details.



6
7
8
# File 'lib/bigid/bgcheck/result.rb', line 6

def related_score_details
  @related_score_details
end

#scoreObject

Returns the value of attribute score.



6
7
8
# File 'lib/bigid/bgcheck/result.rb', line 6

def score
  @score
end

#score_detailsObject

Returns the value of attribute score_details.



6
7
8
# File 'lib/bigid/bgcheck/result.rb', line 6

def score_details
  @score_details
end

#ticket_idObject

Returns the value of attribute ticket_id.



6
7
8
# File 'lib/bigid/bgcheck/result.rb', line 6

def ticket_id
  @ticket_id
end