class Synchronisable::Gateway

Public Instance Methods

fetch(params = {}) click to toggle source
# File lib/synchronisable/gateway.rb, line 3
def fetch(params = {})
  not_implemented! :fetch
end
find(params) click to toggle source
# File lib/synchronisable/gateway.rb, line 7
def find(params)
  not_implemented! :find
end

Protected Instance Methods

not_implemented!(method) click to toggle source
# File lib/synchronisable/gateway.rb, line 13
def not_implemented!(method)
  raise NotImplementedError,
    I18n.t('errors.gateway_method_missing', method: method)
end