Sha256: aad9a46118a21c72daa735ca555b80fe29aa13f61a7964aa22ca6fe825b3bef5
Contents?: true
Size: 373 Bytes
Versions: 10
Compression:
Stored size: 373 Bytes
Contents
module Rack class API module Formatter class Base attr_accessor :object attr_accessor :params class AbstractMethodError < StandardError; end def initialize(object, params) @object, @params = object, params end def to_format raise AbstractMethodError end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems