payload-api 0.1.0 → 0.2.0

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
  SHA256:
3
- metadata.gz: 0711e29f8e4a39b865cda04ddc414b3b34c38d8b9f9314f785410fb4f1346c7e
4
- data.tar.gz: 04cfdc8927d2c47e16db1ceaf8aff90c54b8e87bb1cb57b6e4edc907755f44b6
3
+ metadata.gz: b0d07e54d1a8a6b672db49e2d95107ff26b4a3126450c609c4e17218791c0e47
4
+ data.tar.gz: 12a6a99e79fbc0c0cea513b2978e405dcb4d0a1dabdf2f759c09ec79f57c1732
5
5
  SHA512:
6
- metadata.gz: e2f51ded017699686030ca7c8c4ab38ebcdbf3efd11f416a467c2aac5435b68b7935b9802429f2665338e2bc5e886aa0b3399d06a881ac3d89a382200e0a2ce4
7
- data.tar.gz: 82c40295cc2a47068ad93cf7dcce41c1bdaef381fde723aefb07da4826d6d52a0284b45f343b9eb6cf07d1762481e0b8bfea380d760eec33bf3a2002a27019cc
6
+ metadata.gz: c4f2be19d3f364a77c5a12254851f318e20f156c7d5dc83a450c98627fc50a788540164ae587d2038c2d89e2c65486fc93b5ecab3e27c6772d5619a25721b245
7
+ data.tar.gz: 0151206d5465ea7c32a40a1a6bee30cdcdc6ef617200e867683820b77ed83e51dc63ce4880109d110befae4697c8b194750742bf2e8ab1716aeb21f27335e621
data/README.md CHANGED
@@ -46,7 +46,7 @@ creating a customer using the `Payload::Customer` object.
46
46
  # Create a Customer
47
47
  customer = Payload::Customer.create(
48
48
  email: 'matt.perez@example.com',
49
- full_name: 'Matt Perez'
49
+ name: 'Matt Perez'
50
50
  )
51
51
  ```
52
52
 
@@ -6,13 +6,11 @@ module Payload
6
6
  end
7
7
 
8
8
  class Customer < ARMObject
9
- @spec = { 'object' => 'account' }
10
- @poly = { 'type' => 'customer' }
9
+ @spec = { 'object' => 'customer' }
11
10
  end
12
11
 
13
12
  class ProcessingAccount < ARMObject
14
- @spec = { 'object' => 'account' }
15
- @poly = { 'type' => 'processing' }
13
+ @spec = { 'object' => 'processing_account' }
16
14
  end
17
15
 
18
16
  class Org < ARMObject
@@ -1,3 +1,3 @@
1
1
  module Payload
2
- VERSION = '0.1.0'
2
+ VERSION = '0.2.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: payload-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Payload
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-05 00:00:00.000000000 Z
11
+ date: 2020-08-26 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A simple library to interface with the Payload API. See https://docs.payload.co
14
14
  for details.