Sha256: a6e5992ef10552011a9b870c2768aa78945a258aafbb97876ac01bb81823294d

Contents?: true

Size: 388 Bytes

Versions: 2

Compression:

Stored size: 388 Bytes

Contents

module Dox
  module Entities
    class Action

      attr_accessor :name, :desc, :verb, :path, :uri_params, :examples

      def initialize(name, details)
        @name = name
        @desc = details[:action_desc]
        @verb = details[:action_verb]
        @path = details[:action_path]
        @uri_params = details[:action_params]
        @examples = []
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dox-0.0.3 lib/dox/entities/action.rb
dox-0.0.2 lib/dox/entities/action.rb