Class: ListingcheckApi::Scan
- Inherits:
-
APISmith::Smash
- Object
- APISmith::Smash
- ListingcheckApi::Scan
- Defined in:
- lib/listingcheck_api.rb
Instance Method Summary collapse
- #matched_listing_types ⇒ Object
-
#scan!(client) ⇒ Object
FIXME: What is the proper way to do this?.
Instance Method Details
#matched_listing_types ⇒ Object
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 |