Sha256: d78391f369d21bdc4b6b755ba3b1a0e3448747fb0838bbd58bad5d7e3c17523b

Contents?: true

Size: 300 Bytes

Versions: 2

Compression:

Stored size: 300 Bytes

Contents

module Dox
  module Entities
    class Resource

      attr_accessor :name, :desc, :endpoint, :actions

      def initialize(name, details)
        @name = name
        @desc = details[:resource_desc]
        @endpoint = details[:resource_endpoint]
        @actions = {}
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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