duke-libraries / ezid-client

EZID API Version 2 client
BSD 3-Clause "New" or "Revised" License
11 stars 6 forks source link

Identifier#to_h should merge in id #57

Closed dchandekstark closed 7 years ago

dchandekstark commented 8 years ago
def to_h
  metadata.to_h.merge(id: id)
end

Currently, to_h falls through method_missing to metadata.

dchandekstark commented 7 years ago

I'm not really this should happen.