mvkampen/jsonapi-fetchdata

View on GitHub
lib/jsonapi/fetchdata/parameters/parser.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'active_support/core_ext/module/delegation'

module JSONAPI
  module FetchData
    module Parameters
      class Parser

        class << self
          delegate :parse, to: :new
        end

        def parse _params={}
          raise NotImplementedError
        end

      end
    end
  end
end