Sha256: 56fe37063ce4e16e235ae1a98a6ea7f15e8d6bd2235ac3e9cf79afb9f65f70a2
Contents?: true
Size: 537 Bytes
Versions: 5
Compression:
Stored size: 537 Bytes
Contents
require 'active_support/ordered_options' module ActiveRemote class Config < ::ActiveSupport::OrderedOptions def initialize(options = {}) super self.default_cache_key_updated_at = false self.include_root_in_json = true end def default_cache_key_updated_at? self[:default_cache_key_updated_at] end def include_root_in_json=(true_or_false) self[:include_root_in_json] = !!true_or_false ::ActiveRemote::Base.include_root_in_json = self[:include_root_in_json] end end end
Version data entries
5 entries across 5 versions & 1 rubygems