Class: JustGiving::FundraisingPage
- Inherits:
-
Object
- Object
- JustGiving::FundraisingPage
- Defined in:
- lib/just_giving/fundraising_page.rb
Instance Attribute Summary collapse
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(hash) ⇒ FundraisingPage
constructor
A new instance of FundraisingPage.
Constructor Details
#initialize(hash) ⇒ FundraisingPage
Returns a new instance of FundraisingPage.
5 6 7 |
# File 'lib/just_giving/fundraising_page.rb', line 5 def initialize(hash) @title = hash["pageTitle"] end |
Instance Attribute Details
#title ⇒ Object (readonly)
Returns the value of attribute title.
3 4 5 |
# File 'lib/just_giving/fundraising_page.rb', line 3 def title @title end |