Sha256: 45cf641f3fdff1535260052d247715e8c7c56a3333b17390fee9246d8346bfbf
Contents?: true
Size: 353 Bytes
Versions: 3
Compression:
Stored size: 353 Bytes
Contents
class Quandl::Client::Base module Attributes extend ActiveSupport::Concern def write_attribute(attribute, value) self.send(:"#{attribute}_will_change!") if @attributes[:"#{attribute}"] != value @attributes[:"#{attribute}"] = value end def read_attribute(attribute) @attributes[:"#{attribute}"] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
quandl_client-2.7.11 | lib/quandl/client/base/attributes.rb |
quandl_client-2.7.5 | lib/quandl/client/base/attributes.rb |
quandl_client-2.7.4 | lib/quandl/client/base/attributes.rb |