Class: Candies::Server::Gif
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Candies::Server::Base
Instance Method Details
#call(env) ⇒ Object
5 6 7 8 9 |
# File 'lib/candies/server/gif.rb', line 5 def call(env) @request = Rack::Request.new(env) Candies.redis.set(key, @request.params.to_json) if !id.nil? [status, headers, body] end |