Sha256: 79b8e249cb8589004d3a6c681adec895b0a08692ca3e4e09d23aa1f2332d8b9d

Contents?: true

Size: 256 Bytes

Versions: 9

Compression:

Stored size: 256 Bytes

Contents

module SnowmanIO
  module API
    class Fridge < Grape::API
      before(&:authenticate!)

      params do
        requires :last, type: Integer
      end
      get "fridge" do
        Extra::Meteor.all(permitted_params[:last])
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
snowman-io-0.5.1 lib/snowman-io/api/fridge.rb
snowman-io-0.5.0 lib/snowman-io/api/fridge.rb
snowman-io-0.4.0 lib/snowman-io/api/fridge.rb
snowman-io-0.3.1 lib/snowman-io/api/fridge.rb
snowman-io-0.3.0 lib/snowman-io/api/fridge.rb
snowman-io-0.2.0 lib/snowman-io/api/fridge.rb
snowman-io-0.1.0 lib/snowman-io/api/fridge.rb
snowman-io-0.0.6 lib/snowman-io/api/fridge.rb
snowman-io-0.0.5 lib/snowman-io/api/fridge.rb