class JustShare::Tumblr
Public Instance Methods
setup_attrs()
click to toggle source
# File lib/just_share/tumblr.rb, line 2 def setup_attrs # Base URL self.domain='https://www.tumblr.com' self.path='share' # Params (only the link is working, the others are deprecated for the sharer.php & won't work) url_param = "u=#{self.link}" description_param = "t=#{self.message}" # build the params self.params = "#{url_param}&#{description_param}" end