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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b628fb625d9fb38ab0447e3ed58a4beec30fdf27
4
- data.tar.gz: 5ca56ef7f805e2e7a6231190197b946597a28269
3
+ metadata.gz: 6c428ce157d97f433e2e15c1148f95ddc5fad6ed
4
+ data.tar.gz: 227916d161082141300c391b69cb2fd77ba94127
5
5
  SHA512:
6
- metadata.gz: 3a68d0aefb3a4d201cc6d07a8c495652889a8730c88afc91f3da6ed76db90b40a47b75e59a77a6ce6c91e1499c87de1b1871461cb9148181d32f3ef27ca8ab71
7
- data.tar.gz: 089c78f4279dcc152b1458a04b0fd972da159f0abc78fed58c1d47df7c2735d181159d6d79f131fd4b98e77e9369ede484ad7d78261510a4b800e88e17f8d033
6
+ metadata.gz: 5789290e4ad4b5865154a53673d668a0766c4ecfe648276de3171b89db4c93762a7e4dce591445f57e91fb1fa7b11ca335da6eefba4e8050ed0011ddcbe73479
7
+ data.tar.gz: 444edb427a35e06a46bda9081e3135402ef9adaeab5cf466377ce1428565c323006b6922454fb9ec27a2391334a255956cf27efef5a7b356e5166d0e41235db1
@@ -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
- BASE_URL + ICIMS.customer_id
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
@@ -1,3 +1,3 @@
1
1
  module Icims
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
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.1
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-26 00:00:00.000000000 Z
11
+ date: 2016-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty