projecthydra/rubydora — pull request #26 by dchandekstark (2013-05-22 02:29:47+00:00)
Title: Added #object_xml to Rubydora::DigitalObject

Currently, if you want to get the FOXML record for an ActiveFedora object, you have to do this:

```ruby
obj.inner_object.repository.object_xml(pid: obj.pid)
```

A first step towards a more transparent API would be to add this method to Rubydora::DigitalObject.