Class: Decidim::Design::CardsHelper::DummyClass

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



11
12
13
# File 'decidim-design/app/helpers/decidim/design/cards_helper.rb', line 11

def description
  @description
end

#organizationObject

Returns the value of attribute organization.



11
12
13
# File 'decidim-design/app/helpers/decidim/design/cards_helper.rb', line 11

def organization
  @organization
end

#titleObject

Returns the value of attribute title.



11
12
13
# File 'decidim-design/app/helpers/decidim/design/cards_helper.rb', line 11

def title
  @title
end

Instance Method Details

#resource_locatorObject



13
14
15
16
17
18
19
# File 'decidim-design/app/helpers/decidim/design/cards_helper.rb', line 13

def resource_locator
  Class.new do
    def path(*_args)
      "#"
    end
  end.new
end