class FMCache::IncompleteInfo

Attributes

field_mask[R]
ids[R]

Public Class Methods

new(ids:, field_mask:) click to toggle source
# File lib/fmcache/incomplete_info.rb, line 3
def initialize(ids:, field_mask:)
  @ids        = ids
  @field_mask = field_mask
end

Public Instance Methods

==(other) click to toggle source
# File lib/fmcache/incomplete_info.rb, line 10
def ==(other)
  self.class == other.class &&
    @ids == other.ids &&
    @field_mask.to_paths == other.field_mask.to_paths
end
eql?(other) click to toggle source
# File lib/fmcache/incomplete_info.rb, line 16
def eql?(other)
  self == other
end
hash() click to toggle source
# File lib/fmcache/incomplete_info.rb, line 20
def hash
  @ids.hash ^ @field_mask.hash
end