Sha256: 2f6c6136f7e5a765eda2f3522e915e77c4b44a0881218b0d528b58e11942f1a0

Contents?: true

Size: 515 Bytes

Versions: 26

Compression:

Stored size: 515 Bytes

Contents

module DataCatalog

  class SourcesUsages < Base
    include Resource

    parent Sources
    child_association :usages
    model Usage
    path "usages"

    # == Permissions

    roles Roles
    permission :list   => :basic
    permission :read   => :basic
    permission :create => :curator
    permission :update => :curator
    permission :delete => :curator
    
    # == Properties

    property :title
    property :url
    property :description

    # == Callbacks
    
  end
  
  SourcesUsages.build

end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
sinatra_resource-0.4.21 examples/datacatalog/resources/sources_usages.rb
sinatra_resource-0.4.20 examples/datacatalog/resources/sources_usages.rb
sinatra_resource-0.4.19 examples/datacatalog/resources/sources_usages.rb
sinatra_resource-0.4.18 examples/datacatalog/resources/sources_usages.rb
sinatra_resource-0.4.17 examples/datacatalog/resources/sources_usages.rb
sinatra_resource-0.4.16 examples/datacatalog/resources/sources_usages.rb
sinatra_resource-0.4.15 examples/datacatalog/resources/sources_usages.rb
sinatra_resource-0.4.14 examples/datacatalog/resources/sources_usages.rb
sinatra_resource-0.4.13 examples/datacatalog/resources/sources_usages.rb
sinatra_resource-0.4.12 examples/datacatalog/resources/sources_usages.rb
sinatra_resource-0.4.11 examples/datacatalog/resources/sources_usages.rb
sinatra_resource-0.4.10 examples/datacatalog/resources/sources_usages.rb
sinatra_resource-0.4.9 examples/datacatalog/resources/sources_usages.rb
sinatra_resource-0.4.8 examples/datacatalog/resources/sources_usages.rb
sinatra_resource-0.4.7 examples/datacatalog/resources/sources_usages.rb
sinatra_resource-0.4.6 examples/datacatalog/resources/sources_usages.rb
sinatra_resource-0.4.5 examples/datacatalog/resources/sources_usages.rb
sinatra_resource-0.4.4 examples/datacatalog/resources/sources_usages.rb
sinatra_resource-0.4.3 examples/datacatalog/resources/sources_usages.rb
sinatra_resource-0.4.2 examples/datacatalog/resources/sources_usages.rb