Class: ListingcheckApi::Scan

Inherits:
APISmith::Smash
  • Object
show all
Defined in:
lib/listingcheck_api.rb

Instance Method Summary collapse

Instance Method Details

#matched_listing_typesObject



65
66
67
# File 'lib/listingcheck_api.rb', line 65

def matched_listing_types
  matched_listings.collect(&:type)
end

#scan!(client) ⇒ Object

FIXME: What is the proper way to do this?



70
71
72
# File 'lib/listingcheck_api.rb', line 70

def scan!(client)
  client.perform_scan(self.access_token)
end