class DropboxApi::Results::Search::Match

Public Class Methods

new(data) click to toggle source
# File lib/dropbox_api/results/search/match.rb, line 4
def initialize(data)
  @data = data
end

Public Instance Methods

match_type() click to toggle source
# File lib/dropbox_api/results/search/match.rb, line 8
def match_type
  @data['match_type']
end
resource() click to toggle source
# File lib/dropbox_api/results/search/match.rb, line 12
def resource
  @resource ||= DropboxApi::Metadata::Resource.new @data['metadata']
end