Sha256: 0fa99b1a9164a3782c9d19dad9d5e1a013e2e83e601b30e4d9607614de640943
Contents?: true
Size: 646 Bytes
Versions: 18
Compression:
Stored size: 646 Bytes
Contents
module DropboxApi::Results class SearchResult < DropboxApi::Results::Base # A list (possibly empty) of matches for the query. def matches @matches ||= @data["matches"].map do |match| DropboxApi::Results::Search::Match.new match end end # Used for paging. Value to set the start argument to when calling search # to fetch the next page of results. def start @data["start"].to_i end # Used for paging. If true, indicates there is another page of results # available that can be fetched by calling search again. def has_more? @data["more"].to_s == "true" end end end
Version data entries
18 entries across 18 versions & 1 rubygems