Custom information while using multipass gem

  1. Yes, you can still send custom attributes, just like that FAQ says.

  2. this took forever for me to get back to

    You can probably still do it the way the faq says, using the "old" multipass gem:
    http://github.com/entp/tender_multipass

    But as far as I can tell, you guys have deprecated that in favor of this new gem:
    http://github.com/entp/multipass

    We use this gem, and it's not entirely clear to me how to include the custom info. Generally speaking, it is a tad confusing to have documentation up about both.

    Thanks
    -Jeff

  3. You just send any key/value pairs you want. (see: ':some_other_thing' in this)

        class User
           def multipass
            @multipass ||= self.class.multipass.encode(:email => email,
    :name => name, :expires => 30.minutes.from_now,
              :unique_id => "ed-#{id}", :alternate_id => email,
              :some_other_thing => product.name
              :external_id => id, :external_url =>
    "http://expandrive.com/admin/users/#{id}")
          end
        end

  4. Will closed this discussion on 18 Aug, 2010 10:11 PM.

Discussions are closed to public comments.
If you need help with Tender please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac