fanforce-api 2.0.0.rc1 → 2.0.0.rc2

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: 25443869377cb4200f63544d7a6029ca7cd4b9a5
4
- data.tar.gz: f0f1d8013d2a1730727a5c3e2a3e0b809a515ddf
3
+ metadata.gz: 52bdfc23822b5673132708bbe7489922da967856
4
+ data.tar.gz: 12e69fc004ac6c3d23ba1fcd7a28ef7b99eafc0b
5
5
  SHA512:
6
- metadata.gz: b50ba430ea3612a81c61ccd0843c45b074ceeb6d16d3f5448a1c3bef9e1624b3c8188eb57e31efd363741669c84408bff9d41e3634796b6f5a18ba13ff97ed27
7
- data.tar.gz: 27e6f578266b7eb04be53412eea759126975a5f63bd8eccad7f5bcc72134891670f7225066ab1281e30a2beb043dd93efda378a1744473f64d634c338d43c6f7
6
+ metadata.gz: 5d7993b0a35db721e011cf084eb710b93128494a9f79a451befdd94a5682ad3f857790dc274fd443a3e9817a201bf8a70ea6297a650e39c0049f84d7824d40be
7
+ data.tar.gz: 1761b6e46e2d4122896d8943cc74a633d23d03c491cd6b2c82340fb19dcc2ec8a0770515e125bb9e9109cefcef7be0b81b93c04958ed64ad0cdc50df0f04102d
@@ -83,6 +83,14 @@ class Fanforce::API
83
83
  @auth_params.clone
84
84
  end
85
85
 
86
+ def organization_id
87
+ @auth_params[:organization_id]
88
+ end
89
+
90
+ def api_key
91
+ @auth_params[:api_key]
92
+ end
93
+
86
94
  # Auth the current instance. Will raise error if api_key not found or is not of UUID format.
87
95
  # @param auth_data [String, Hash] either an api_key string or a hash containing it
88
96
  # @return [nil]
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  class API
3
- VERSION = '2.0.0.rc1'
3
+ VERSION = '2.0.0.rc2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.rc1
4
+ version: 2.0.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-19 00:00:00.000000000 Z
11
+ date: 2015-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client