fellowshipone 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5eb513dc875bc9420050aa61c5253e3ca1171c41
4
- data.tar.gz: e5159209734362184a41afa6dbeaf17f533f9570
3
+ metadata.gz: f46c2b6ee54edbd7c3368838c82f41e636a7b232
4
+ data.tar.gz: 4cf3fc5e7ecd01506760f87672df6ddb9e62003a
5
5
  SHA512:
6
- metadata.gz: 677026c5ad23513abe91e82b5adc42218d391679deecf643a2abeb0afe6599f430e2964b35f8b2885e74a90a4580b1b32d0d01e7de3c19e15146b258250e1aa0
7
- data.tar.gz: 833e0840c09d50f792c6607c199c08b5c9c9f3cc2418a3bacde185a25a55e53d7bcd1cb6288f286d1faa03bfbf81ae050250cec210e7973a9ec49fbedf9a41ee
6
+ metadata.gz: 937328557e23fffb669dbc691f8a1288b9f6b3c63ffb65e0b8cd4967fc9378423dd1f8691b4e33b8cc954a6cacc93b3c3bf8c76e3480b277d8ab388e0887c6c4
7
+ data.tar.gz: 66ec97c3ebd512873ef092d088d08cb7eb92d144cb74bafcc1c3eeffe7d9d0ae25da063ed691eee2809fa5d2828534b57c231f05ab43c3e9681aa4862c3f9f5d
@@ -2,7 +2,7 @@ $:.push File.expand_path("../lib", __FILE__)
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'fellowshipone'
5
- s.version = '1.0.1'
5
+ s.version = '1.0.2'
6
6
  s.authors = ['Taylor Brooks']
7
7
  s.email = ['tbrooks@gmail.com']
8
8
  s.homepage = 'https://github.com/taylorbrooks/fellowshipone'
@@ -2,6 +2,10 @@ module Fellowshipone
2
2
  class Client
3
3
  module Household
4
4
 
5
+ def find_household(id)
6
+ get("/v1/Households/#{id}.json")
7
+ end
8
+
5
9
  def new_household
6
10
  get("/v1/Households/new.json")
7
11
  end
@@ -22,6 +22,10 @@ module Fellowshipone
22
22
  get("/v1/People/Search.json?searchfor=#{name}&communication=#{email}").results
23
23
  end
24
24
 
25
+ def search_for_person_by_household(household_id)
26
+ get("/v1/People/Search.json?hsid=#{household_id}").results
27
+ end
28
+
25
29
  end
26
30
  end
27
31
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fellowshipone
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Brooks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-20 00:00:00.000000000 Z
11
+ date: 2015-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler