Grape is a Ruby Gem that provides a DSL to easily develop RESTful APIs.
Here is my code: class Order < Grape::Entity expose :id { |order, options| order.id.obfuscate } expose :time_left_to_…