module Opera::MobileStoreSDK::IdentityMapable::ClassMethods

Public Instance Methods

find(given_id, hint_options = {}) click to toggle source
# File lib/opera/mobile_store_sdk/identity_mapable.rb, line 29
def find(given_id, hint_options = {})
  if identity_map.key?(given_id)
    identity_map[given_id]
  else
    raise "Not Implemented"
  end
end
identity_map() click to toggle source
# File lib/opera/mobile_store_sdk/identity_mapable.rb, line 25
def identity_map
  @_identity_map ||= {}
end
identity_mapped?(object_id) click to toggle source
# File lib/opera/mobile_store_sdk/identity_mapable.rb, line 37
def identity_mapped?(object_id)
  identity_map.key? object_id
end