0.0
No commit activity in last 3 years
No release in over 3 years
Generate profile links for Twitter, Facebook, LinkedIn, and others
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

link_to_profile

Easily generate profile links.

Installation

Add this line to your application's Gemfile:

gem 'link_to_profile'

And then execute:

$ bundle

Or install it yourself as:

$ gem install link_to_profile

Usage

raw link_to_profile username: 'dblandin', network: :twitter
# <a href='http://twitter.com/dblandin'>twitter</a>
raw link_to_profile username: 'dblandin', network: :facebook
# <a href='http://facebook.com/dblandin'>facebook</a>
raw link_to_profile username: 'dblandin', network: :linkedin
# <a href='http://linkedin.com/in/dblandin'>linkedin</a>

raw url_to_profile username: 'dblandin', network: :twitter
# 'http://twitter.com/dblandin'
raw url_to_profile username: 'dblandin', network: :facebook
# 'http://facebook.com/dblandin'
raw url_to_profile username: 'dblandin', network: :linkedin
# 'http://linkedin.com/in/dblandin'

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request