Class: JustShare::Delicious
- Inherits:
-
SocialLinker
- Object
- SocialLinker
- JustShare::Delicious
- Defined in:
- lib/just_share/delicious.rb
Instance Attribute Summary
Attributes inherited from SocialLinker
#aux_link, #domain, #hash_tags, #image_url, #message, #params, #path, #title, #via
Instance Method Summary collapse
Methods inherited from SocialLinker
#get_post_link, #initialize, #link
Constructor Details
This class inherits a constructor from JustShare::SocialLinker
Instance Method Details
#setup_attrs ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/just_share/delicious.rb', line 2 def setup_attrs # Base URL self.domain='https://delicious.com' self.path='save' # Params (for twitter it is possible set more params on URL, but to more style check it tags documentation) url_param = "url=#{self.link}" title_param = "title=#{self.title}" = "tags=#{JustShare.array_to_str_params self.}" text_param = "note=#{self.}" # build the params self.params = "mini=true&#{url_param}&#{title_param}&#{}&#{text_param}" end |