icims 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/icims/requestable.rb +2 -3
- data/lib/icims/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c428ce157d97f433e2e15c1148f95ddc5fad6ed
|
4
|
+
data.tar.gz: 227916d161082141300c391b69cb2fd77ba94127
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5789290e4ad4b5865154a53673d668a0766c4ecfe648276de3171b89db4c93762a7e4dce591445f57e91fb1fa7b11ca335da6eefba4e8050ed0011ddcbe73479
|
7
|
+
data.tar.gz: 444edb427a35e06a46bda9081e3135402ef9adaeab5cf466377ce1428565c323006b6922454fb9ec27a2391334a255956cf27efef5a7b356e5166d0e41235db1
|
data/lib/icims/requestable.rb
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
module ICIMS
|
2
2
|
module Requestable
|
3
3
|
|
4
|
-
BASE_URL = "https://api.icims.com/customers/"
|
5
|
-
|
6
4
|
private
|
7
5
|
|
8
6
|
def customer_url
|
9
|
-
|
7
|
+
raise ArgumentError, "You must provide a `customer_id`. e.g. ICIMS.customer_id = 1234" unless ICIMS.customer_id.present?
|
8
|
+
"https://api.icims.com/customers/#{ICIMS.customer_id}"
|
10
9
|
end
|
11
10
|
|
12
11
|
end
|
data/lib/icims/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: icims
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mathieu Gagné
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01
|
11
|
+
date: 2016-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|