Sha256: ffad043da87abd90cbf8bbc10f786e83c590e022c1d4fb1bad28f776238fbf17

Contents?: true

Size: 228 Bytes

Versions: 22

Compression:

Stored size: 228 Bytes

Contents

class CityGrid
  class Offers < Abstraction::Collection
    def request opts = {}
      CityGrid::API::Content::Offers.search opts
    end

    private

    def preprocess response
      response.results.offers
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
citygrid_api-0.0.7 lib/citygrid/offers.rb
citygrid_api-0.0.6 lib/citygrid/offers.rb