Skip to content

Commit b9750ba

Browse files
horghclaude
andcommitted
Fix Response documentation
* Changed Fixnum to Integer (Fixnum deprecated in Ruby 2.4+) * Added Minfraud::Model::Error to body return types Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 34158a7 commit b9750ba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/minfraud/http_service/response.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ module HTTPService
1212
class Response
1313
# Response HTTP status code.
1414
#
15-
# @return [Fixnum, nil]
15+
# @return [Integer, nil]
1616
attr_reader :status
1717

1818
# Response model.
1919
#
2020
# @return [Minfraud::Model::Score, Minfraud::Model::Insights,
21-
# Minfraud::Model::Factors, nil]
21+
# Minfraud::Model::Factors, Minfraud::Model::Error, nil]
2222
attr_reader :body
2323

2424
# @param endpoint [Symbol, nil] endpoint name, like :score.

0 commit comments

Comments
 (0)