class GoApiClient::Domain::InternalCache

Attributes

options[RW]
uri[RW]

Public Class Methods

new(uri, options = {}) click to toggle source
# File lib/go_api_client/domain/internal_cache.rb, line 6
def initialize(uri, options = {})
  @uri = uri
  @options = options
end

Public Instance Methods

==(other) click to toggle source
# File lib/go_api_client/domain/internal_cache.rb, line 11
def ==(other)
  other && self.class.equal?(other.class) &&
      @uri == other.uri &&
      @options[:eager_parser] == other.options[:eager_parser]
end
eql?(other) click to toggle source
# File lib/go_api_client/domain/internal_cache.rb, line 21
def eql?(other)
  other && self.class.equal?(other.class) &&
      @uri.eql?(other.uri) &&
      @options[:eager_parser].eql?(other.options[:eager_parser])
end
hash() click to toggle source
# File lib/go_api_client/domain/internal_cache.rb, line 17
def hash
  @uri.hash ^ @options[:eager_parser].hash
end