Sha256: 149baa5cf2bb8e6c264e1140eb905fe874a6876647550c7a14cae13deebc01e7

Contents?: true

Size: 448 Bytes

Versions: 4

Compression:

Stored size: 448 Bytes

Contents

module Ki
  class Model
    module ModelHelpers
      def get?
        @req.get?
      end

      def post?
        @req.post?
      end

      def put?
        @req.put?
      end

      def delete?
        @req.delete?
      end

      def forbidden_actions
        []
      end

      def required_attributes
        []
      end

      def skipped_params
        []
      end

      def unique_attributes
        []
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ki-0.4.6 lib/ki/modules/model_helpers.rb
ki-0.4.5 lib/ki/modules/model_helpers.rb
ki-0.4.4 lib/ki/modules/model_helpers.rb
ki-0.4.3 lib/ki/modules/model_helpers.rb