class NeverBounce::API::Response::JobsResults
Public Instance Methods
items()
click to toggle source
# File lib/never_bounce/api/response/jobs_results.rb, line 25 def items # NOTE: I take courage to rename original response key since having class `Results::Result` is total ugliness. @items ||= body_hash.fetch("results").map { |h| Item.new(body_hash: h) } end
query()
click to toggle source
# File lib/never_bounce/api/response/jobs_results.rb, line 30 def query @query ||= Query.new(body_hash: body_hash.fetch("query")) end