class Alephant::Lookup::LookupLocation

Attributes

batch_version[R]
component_id[R]
component_key[R]
location[RW]
opts[R]
opts_hash[R]

Public Class Methods

new(component_id, opts, batch_version, location = nil) click to toggle source
# File lib/alephant/lookup/lookup_location.rb, line 9
def initialize(component_id, opts, batch_version, location = nil)
  @component_id = component_id
  @batch_version = batch_version
  @opts = opts
  @opts_hash = hash_for(opts)
  @location = location
end

Private Instance Methods

hash_for(opts) click to toggle source
# File lib/alephant/lookup/lookup_location.rb, line 23
def hash_for(opts)
  Crimp.signature opts
end