Class: ShareButtons::Email

Inherits:
Base
  • Object
show all
Defined in:
lib/share_buttons/email.rb

Instance Attribute Summary

Attributes inherited from Base

#options, #request, #url

Instance Method Summary collapse

Methods inherited from Base

#button_class, #href, #initialize, #medium_name

Constructor Details

This class inherits a constructor from ShareButtons::Base

Instance Method Details

#labelObject



3
4
5
# File 'lib/share_buttons/email.rb', line 3

def label
  options.fetch(:label, 'Partager par e-mail')
end

#titleObject



7
8
9
# File 'lib/share_buttons/email.rb', line 7

def title
  options[:title]
end