cb-api 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cb/clients/company_api.rb +1 -1
- data/lib/cb/version.rb +1 -1
- metadata +2 -2
@@ -10,7 +10,7 @@ module Cb
|
|
10
10
|
#############################################################
|
11
11
|
def self.find_by_did(did)
|
12
12
|
my_api = Cb::Utils::Api.new()
|
13
|
-
cb_response = my_api.cb_get(Cb.configuration.uri_company_find, :query => {:CompanyDID => did})
|
13
|
+
cb_response = my_api.cb_get(Cb.configuration.uri_company_find, :query => {:CompanyDID => did, :hostsite=> Cb.configuration.host_site})
|
14
14
|
json_hash = JSON.parse(cb_response.response.body)
|
15
15
|
|
16
16
|
company = CbCompany.new(json_hash['Results']['CompanyProfileDetail'])
|
data/lib/cb/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cb-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2013-06-
|
17
|
+
date: 2013-06-25 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: httparty
|