chingor13/service_contract

View on GitHub
lib/service_contract/abstract_parameter.rb

Summary

Maintainability
A
0 mins
Test Coverage
module ServiceContract
  AbstractParameter = Struct.new(:definition) do
    def name
      raise :not_implemented
    end

    def type
      raise :not_implemented
    end

    def default
      nil
    end

    def doc
      nil
    end
  end
end