Sha256: a41aa16a4d1221bc5de4b9ad75e37bc99412b7b9261a42e394d7aa4c70276448

Contents?: true

Size: 324 Bytes

Versions: 5

Compression:

Stored size: 324 Bytes

Contents

module Dox
  module Entities
    class Resource
      attr_reader :name, :desc, :group
      attr_accessor :actions

      def initialize(details)
        @name = details[:resource_name]
        @group = details[:resource_group_name]
        @desc = details[:resource_desc]
        @actions = {}
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dox-2.4.0 lib/dox/entities/resource.rb
dox-2.3.0 lib/dox/entities/resource.rb
dox-2.2.0 lib/dox/entities/resource.rb
dox-2.1.0 lib/dox/entities/resource.rb
dox-2.0.0 lib/dox/entities/resource.rb