Module: FirstGiving
- Defined in:
- lib/firstgiving.rb,
lib/firstgiving/base.rb,
lib/firstgiving/lookup.rb,
lib/firstgiving/search.rb,
lib/firstgiving/version.rb,
lib/firstgiving/donation.rb,
lib/firstgiving/response.rb
Overview
Defined Under Namespace
Modules: Base
Classes: Configuration, Donation, Lookup, Response, Search
Constant Summary
collapse
- VERSION =
'1.0.2'
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
32
33
34
|
# File 'lib/firstgiving.rb', line 32
def self.configuration
@configuration ||= Configuration.new
end
|
36
37
38
|
# File 'lib/firstgiving.rb', line 36
def self.configure
yield(configuration) if block_given?
end
|
.donation ⇒ Object
48
49
50
|
# File 'lib/firstgiving.rb', line 48
def self.donation
@donation ||= Donation.new
end
|
.lookup ⇒ Object
40
41
42
|
# File 'lib/firstgiving.rb', line 40
def self.lookup
@lookup ||= Lookup.new
end
|
.search ⇒ Object
44
45
46
|
# File 'lib/firstgiving.rb', line 44
def self.search
@search ||= Search.new
end
|