Sha256: d3afcd102a1b2d372211a8d8f0c664523d2a68d3592f56ddda9e233c59a911ac

Contents?: true

Size: 185 Bytes

Versions: 2

Compression:

Stored size: 185 Bytes

Contents

module CanTango::Macros
  module User
    def tango_user options = {}
      self.send :include, CanTango::Api::Model::User
    end
    alias_method :cantango_user, :tango_user
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cantango-api-0.1.1 lib/cantango/api_ext/macros/user.rb
cantango-api-0.1.0 lib/cantango/api_ext/macros/user.rb