tessitura_rest 0.4.1 → 0.4.2

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
  SHA256:
3
- metadata.gz: d4b2438225d821830e73b627a95e93e57808394c2906e2135fdd6da908fabc08
4
- data.tar.gz: 46bf85bb9c62f48da5a0246ae9b596d7b41641d07a357a5c7d167dbac7756caf
3
+ metadata.gz: c0de9ad860527a1041dca69c4956b1c9cbb14cc16d71775f8187d6addec96982
4
+ data.tar.gz: 6143a2856a8585592f6c99e6606282682040e9927398ad1bc8f88750420e6018
5
5
  SHA512:
6
- metadata.gz: b710d701646017ecf1f8484cb8ec62a073a810562be94f6f226962c64475f04ae40d4466b00380532555ae2929057a5ecfae4e61e25e7885fe81e048f01ef025
7
- data.tar.gz: 136b1529754599f695ac43068bce8bb4cb5dcba14438a3bae6f02b0ee8d79656efc844768b2e8d3222f309c109686d16f46a6b951a3ff2740df15872ecce7325
6
+ metadata.gz: 9df9154e90ceea82b877f9f277601a51423391a3a20db1b4ed9494cb4bf736d903e359344767ceb7d5550fce0a4ff8443047b001f8b8486dd2f6ca0e66df6e0c
7
+ data.tar.gz: 3ce84bb40c58866a06eac1482ee850b225f042a5f9151d7a95c82f2afec891cce182e248e7ab53d41eca2969aa1c7227c4ae8f70a64b462c0d7aa756bd250496
@@ -1,3 +1,3 @@
1
1
  class TessituraRest
2
- VERSION = "0.4.1"
2
+ VERSION = '0.4.2'
3
3
  end
@@ -6,14 +6,14 @@ module Session
6
6
  JSON.parse(response.body)
7
7
  end
8
8
 
9
- def create_session(ip, org, options={})
9
+ def create_session(ip, options={})
10
10
  parameters =
11
11
  {
12
12
  'IpAddress': ip,
13
- 'Organization': org
13
+ 'Organization': 'Tessitura Web'
14
14
  }
15
- options.merge!(basic_auth: @auth, headers: @headers, body: parameters)
16
- binding.pry
15
+ options.merge!(basic_auth: @auth, headers: @headers)
16
+ options.merge!(body: parameters)
17
17
  response = self.class.post(base_api_endpoint('Web/Session'), options)
18
18
  JSON.parse(response.body)
19
19
  end
@@ -27,7 +27,7 @@ module Session
27
27
  def set_expiration(key, expiration, options={})
28
28
  parameters =
29
29
  {
30
- 'Expiration': expiration
30
+ 'Expiration': expiration
31
31
  }
32
32
  options.merge!(basic_auth: @auth, headers: @headers)
33
33
  options.merge!(:body => parameters)
@@ -43,7 +43,7 @@ module Session
43
43
  def get_promotion(key, code, options={})
44
44
  parameters =
45
45
  {
46
- 'PromoCode': code
46
+ 'PromoCode': code
47
47
  }
48
48
  options.merge!(basic_auth: @auth, headers: @headers)
49
49
  options.merge!(:body => parameters)
@@ -54,7 +54,7 @@ module Session
54
54
  def get_promotion_code(key, code, options={})
55
55
  parameters =
56
56
  {
57
- 'PromoCodeString': code
57
+ 'PromoCodeString': code
58
58
  }
59
59
  options.merge!(basic_auth: @auth, headers: @headers)
60
60
  options.merge!(:body => parameters)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tessitura_rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brittany Martin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-10 00:00:00.000000000 Z
11
+ date: 2019-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler