Class: SocialSharePrivacy::Config
- Includes:
- Evaluatable, JSONable
- Defined in:
- lib/social_share_privacy.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#info_link ⇒ Object
Returns the value of attribute info_link.
-
#uri ⇒ Object
Returns the value of attribute uri.
Instance Method Summary collapse
- #cookie {|@cookie ||= Cookie.new| ... } ⇒ Object
-
#initialize ⇒ Config
constructor
A new instance of Config.
- #services {|@services ||= Services.new| ... } ⇒ Object
Methods included from Evaluatable
Methods included from JSONable
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
193 194 195 196 |
# File 'lib/social_share_privacy.rb', line 193 def initialize @txt_help = Proc.new { I18n.t('social_share_privacy.txt_help') } @txt_perma = Proc.new { I18n.t('social_share_privacy.txt_perma') } end |
Instance Attribute Details
#info_link ⇒ Object
Returns the value of attribute info_link.
73 74 75 |
# File 'lib/social_share_privacy.rb', line 73 def info_link @info_link end |
#uri ⇒ Object
Returns the value of attribute uri.
73 74 75 |
# File 'lib/social_share_privacy.rb', line 73 def uri @uri end |