We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 67c56e3 + 0a836a1 commit 70a74f6Copy full SHA for 70a74f6
lib/ruby-stackoverflow/client/response_data.rb
@@ -2,13 +2,14 @@
2
module RubyStackoverflow
3
class Client
4
class ResponseData
5
- attr_reader :data, :error
+ attr_reader :data, :has_more, :error
6
7
def initialize(response, klass)
8
if response[:items].nil?
9
@error = StackoverflowError.new(response)
10
else
11
@data = format_data(response[:items], klass)
12
+ @has_more = response[:has_more]
13
end
14
15
0 commit comments