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