Sha256: 39398c4079a8e0714c0cec95a5cb628fe346fcdab72c6b5130f99d9a4d82810f
Contents?: true
Size: 410 Bytes
Versions: 2
Compression:
Stored size: 410 Bytes
Contents
module CanTango::Macros module Account def tango_account options = {} self.send :include, CanTango::Api::Model::Account options = CanTango::Macros.extract(options) if options.any_kind_of?(Array, Symbol) if defined? CanTango::Macros::Masquerader::Account self.extend CanTango::Macros::Masquerader::Account masquerader if options[:masquerade] end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cantango-masquerade-0.1.3.2 | lib/cantango/masquerade_ext/macros/account.rb |
cantango-masquerade-0.1.3.1 | lib/cantango/masquerade_ext/macros/account.rb |