Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add direct containers #788

Merged
merged 1 commit into from
May 7, 2015
Merged

Add direct containers #788

merged 1 commit into from
May 7, 2015

Commits on May 7, 2015

  1. Add direct containers

    You can use the containers by calling:
    
    class FooHistory < ActiveFedora::Base
       directly_contains :files, has_member_relation:
         ::RDF::URI.new("http://example.com/hasFiles"), class_name: 'Thing'
    end
    
    if you don't specify a class_name it will default to ActiveFedora::File
    jcoyne committed May 7, 2015
    Configuration menu
    Copy the full SHA
    3facdba View commit details
    Browse the repository at this point in the history