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.28 lib/citygrid/offers.rb
citygrid_api-0.0.27 lib/citygrid/offers.rb
citygrid_api-0.0.26 lib/citygrid/offers.rb
citygrid_api-0.0.25 lib/citygrid/offers.rb
citygrid_api-0.0.24 lib/citygrid/offers.rb
citygrid_api-0.0.23 lib/citygrid/offers.rb
citygrid_api-0.0.22 lib/citygrid/offers.rb
citygrid_api-0.0.21 lib/citygrid/offers.rb
citygrid_api-0.0.20 lib/citygrid/offers.rb
citygrid_api-0.0.19 lib/citygrid/offers.rb
citygrid_api-0.0.18 lib/citygrid/offers.rb
citygrid_api-0.0.17 lib/citygrid/offers.rb
citygrid_api-0.0.16 lib/citygrid/offers.rb
citygrid_api-0.0.15 lib/citygrid/offers.rb
citygrid_api-0.0.14 lib/citygrid/offers.rb
citygrid_api-0.0.13 lib/citygrid/offers.rb
citygrid_api-0.0.12 lib/citygrid/offers.rb
citygrid_api-0.0.11 lib/citygrid/offers.rb
citygrid_api-0.0.10 lib/citygrid/offers.rb
citygrid_api-0.0.9 lib/citygrid/offers.rb