rallio 0.6.0 → 0.6.1

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: e160a5c2e852d27441a5c386a38dffa2d4f4d219
4
- data.tar.gz: 5e37c2fe67afdbb8f1d634b47eac1d6413a00f6d
3
+ metadata.gz: 503a82218b9e79fc87ee286919460d4ac3c63e9b
4
+ data.tar.gz: c6ba6fd9686dbea4f71b57055de00e922449a482
5
5
  SHA512:
6
- metadata.gz: 01424d9ac92ad4773732b7d1c4253f2c8aeb08c80d67e9c7f75b5394335eee36eccbfdb7624ffa48aa99c92c73f7b98ff5c7c83629e2f885198e64cd26e15fde
7
- data.tar.gz: d889ea2e47a406188e256c7cd511544c540e231c8abcf2b38449b136717a6f94c07956da8dd5c3e2afa7991d70d88b7c1999f8e274a3fa0f685c2910c0a9335e
6
+ metadata.gz: 6f632249f8cc344e8053cd40e966b094d3aead8e7d545e3d67c9d06ac9fc364d887d714f2bfa09ad2e01cfb5eb870e55e1213e4c9a430650fab5e4ecf8559dd0
7
+ data.tar.gz: b56d2a0637d4341b5589ca3b623304a514f7c5078ad3ca5491fc03266215296b0feeaef5edaf2c90c1dbd310cf772d0d0a61a6ae806719da645253e95d6f1ce0
@@ -46,7 +46,7 @@ module Rallio
46
46
  # @return [Rallio::Account] hash of account created
47
47
  def self.create(franchisor_id:, account:)
48
48
  response = self.post("/franchisors/#{franchisor_id}/accounts", headers: app_credentials, body: { account: account })
49
- new response.parsed_response
49
+ new response.parsed_response['account']
50
50
  end
51
51
 
52
52
  # Retreives reviews for the account.
@@ -1,3 +1,3 @@
1
1
  module Rallio
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rallio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - JD Guzman
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-23 00:00:00.000000000 Z
11
+ date: 2017-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: virtus