Class: ActionKitApi::PetitionPage
- Inherits:
-
Page
- Object
- ApiDataModel
- Page
- ActionKitApi::PetitionPage
- Defined in:
- lib/action_kit_api/page_types/petition.rb
Instance Attribute Summary
Attributes inherited from Page
#goal, #goal_type, #id, #lang, #list, #name, #required_fields, #status, #tags, #title, #type, #url
Attributes inherited from ApiDataModel
Instance Method Summary collapse
-
#initialize(*args) ⇒ PetitionPage
constructor
A new instance of PetitionPage.
Methods included from Searchable
Methods inherited from ApiDataModel
#save, #to_hash, #update, #valid?
Constructor Details
#initialize(*args) ⇒ PetitionPage
Returns a new instance of PetitionPage.
5 6 7 8 |
# File 'lib/action_kit_api/page_types/petition.rb', line 5 def initialize(*args) @type = 'petition' super end |