Class: JustGiving::FundraisingPage

Inherits:
Object
  • Object
show all
Defined in:
lib/just_giving/fundraising_page.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#titleObject (readonly)

Returns the value of attribute title.



3
4
5
# File 'lib/just_giving/fundraising_page.rb', line 3

def title
  @title
end