Class: Decidim::Design::ShareHelper::ShareableResource

Inherits:
Object
  • Object
show all
Defined in:
decidim-design/app/helpers/decidim/design/share_helper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeShareableResource

Returns a new instance of ShareableResource.



41
42
43
# File 'decidim-design/app/helpers/decidim/design/share_helper.rb', line 41

def initialize
  @title = "Shareable Resource"
end

Instance Attribute Details

#titleObject

Returns the value of attribute title.



51
52
53
# File 'decidim-design/app/helpers/decidim/design/share_helper.rb', line 51

def title
  @title
end

Instance Method Details

#[](key) ⇒ Object



49
# File 'decidim-design/app/helpers/decidim/design/share_helper.rb', line 49

def [](key); end

#presenterObject



45
# File 'decidim-design/app/helpers/decidim/design/share_helper.rb', line 45

def presenter = ShareableResourcePresenter.new(self)

#to_sgidObject



47
# File 'decidim-design/app/helpers/decidim/design/share_helper.rb', line 47

def to_sgid = "#"