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



63
64
65
# File 'lib/listingcheck_api.rb', line 63

def matched_listing_types
  matched_listings.collect(&:type)
end

#scan!(client) ⇒ Object

FIXME: What is the proper way to do this?



68
69
70
# File 'lib/listingcheck_api.rb', line 68

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