class MC2P::RetrieveObjectItemMixin

Allows retrieve an object item

Public Instance Methods

retrieve() click to toggle source

Retrieves the data of the object item

# File lib/mixins.rb, line 43
def retrieve
  id_required_and_not_deleted
  obj = @resource.detail(
    @json_dict[@id_property]
  )
  @json_dict = obj.json_dict
end