justgiving 0.0.6 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 22d99ab0695f314a4a43260447fe0e42fa7e4aaf
4
- data.tar.gz: cdd72a2674aae6928178111831a145d6f5fa8ded
3
+ metadata.gz: ccb5e54e49a507a3bbb068d62ac4f21e6e42aaf6
4
+ data.tar.gz: 7027a1f332ab1fe04f008ceb4a768e44de40b15d
5
5
  SHA512:
6
- metadata.gz: ac021341ac17b4c24b870f3f8879315b48b616cd49cfdeff77f9bb591ff54bd759f071701e5c3b1208ac67bc52913375fadb604ce5f56f67afcc99ab2169d71a
7
- data.tar.gz: ba7676775d0ae7a59168f3de1c6b6e57b133b5fa963b1434be7a0c11069ab5afb7712ccd5c252f1fbe26b439eeba47abd7ff215a6cf12e886095cfc032d3638f
6
+ metadata.gz: ddd0bd40d46ef08df75cb0f8025816db0dd94545875bada88036963a436738f1b8df9c3f4e4ae7700f6a3c9c435fd6defb2c332d328e7a8bdc804c3995dc0a82
7
+ data.tar.gz: 04d2f2ad3da1f119588b6bfca6e8fe6748d38977de36157e8ed373c1947919ad43b64a5d8df6e3192f239a0e0dbf30ea4b667aed533281afdfbb5fc701173cfd
@@ -3,19 +3,19 @@ require_relative "client"
3
3
  module JustGiving
4
4
  class Charity < Client
5
5
 
6
- def getByCharityId(id)
6
+ def get_by_charity_id(id)
7
7
  get("charity/#{id}")
8
8
  end
9
9
 
10
- def getEventsByCharityId(id)
10
+ def get_events_by_charity_id(id)
11
11
  get("charity/#{id}/events")
12
12
  end
13
13
 
14
- def getDonationsByCharityId(id)
14
+ def get_donations_by_charity_id(id)
15
15
  get("charity/#{id}/donations")
16
16
  end
17
17
 
18
- def getCharityCategories
18
+ def get_charity_categories
19
19
  get("charity/categories")
20
20
  end
21
21
 
@@ -3,7 +3,7 @@ require_relative "client"
3
3
  module JustGiving
4
4
  class Country < Client
5
5
 
6
- def getCountries
6
+ def get_countries
7
7
  get("countries")
8
8
  end
9
9
 
@@ -3,7 +3,7 @@ require_relative "client"
3
3
  module JustGiving
4
4
  class Currency < Client
5
5
 
6
- def getValidCountryCodes
6
+ def get_valid_country_codes
7
7
  get("fundraising/currencies")
8
8
  end
9
9
 
@@ -3,11 +3,11 @@ require_relative "client"
3
3
  module JustGiving
4
4
  class Donation < Client
5
5
 
6
- def getDetailsByDonationId(id)
6
+ def get_details_by_donation_id(id)
7
7
  get("donation/#{id}")
8
8
  end
9
9
 
10
- def getStatusByDonationId(id)
10
+ def get_status_by_donation_id(id)
11
11
  get("donation/#{id}/status")
12
12
  end
13
13
 
@@ -3,23 +3,23 @@ require_relative "client"
3
3
  module JustGiving
4
4
  class Search < Client
5
5
 
6
- def searchCharities(filters = {})
6
+ def search_charities(filters = {})
7
7
  get("charity/search", filters)
8
8
  end
9
9
 
10
- def searchEvents(filters = {})
10
+ def search_events(filters = {})
11
11
  get("event/search", filters)
12
12
  end
13
13
 
14
- def searchFundraisers(filters = {})
14
+ def search_fundraisers(filters = {})
15
15
  get("fundraising/search", filters)
16
16
  end
17
17
 
18
- def searchCommemorations(filters = {})
18
+ def search_commemorations(filters = {})
19
19
  get("remember/search", filters)
20
20
  end
21
21
 
22
- def searchTeams(filters = {})
22
+ def search_teams(filters = {})
23
23
  get("team/search", filters)
24
24
  end
25
25
 
@@ -1,3 +1,3 @@
1
1
  module JustGiving
2
- VERSION = "0.0.6"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: justgiving
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Dent