payload-api 0.3.0 → 0.3.1

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: 74d5e99e6b4b79f89e876de732d0b202c52652091467f975de5d91aedc7c1b2b
4
- data.tar.gz: beed06286c333c72bb34841414e394e2dd15b971f3dbff5bb5e12141611eac91
3
+ metadata.gz: bab3aa7202ecf90ba0e88cfcdaf91eda738ee593a1ea2d38a390a29fd87b9813
4
+ data.tar.gz: 4380c8d7ce309fc97aed9a2f07d1fa0d1516b3b9823de647df831483ded14f54
5
5
  SHA512:
6
- metadata.gz: '009d5bd388d06f3ddff528ac3a7ddb46ee211d1094733bbe096ec4044706f1e1757fb2b064532fe40517e53e5f6eef694b18862b154221869d9fff868386371c'
7
- data.tar.gz: 646a54524964916d4f9f405e01db6496b33247d1f4af22f6604dc050d543bf1850c983cf01a8a88e43bf1ea250365495a1252e981ef58c3a4f3c8891a48ed085
6
+ metadata.gz: eb8e9e90bb630c7dbccd23161e0dac207ff53068e6f95b8438a03dc9b3176a423b2da3e85b9b188f77a023ead8b583723528e50c83c35c143f08e8925580ac4f
7
+ data.tar.gz: b6d2f1d4a6923fc64ea7b08b8d89247fd9905ee212e90a93e80e6984d20ea20c93c88c573ff4f6ee31450d0af0460c2a4678c16bc809568b27076e7a71ef29fa
@@ -1,6 +1,15 @@
1
1
  require "payload/arm/object"
2
2
 
3
3
  module Payload
4
+ class AccessToken < ARMObject
5
+ @spec = { 'object' => 'account' }
6
+ end
7
+
8
+ class ClientToken < ARMObject
9
+ @spec = { 'object' => 'access_token' }
10
+ @poly = { 'type' => 'client' }
11
+ end
12
+
4
13
  class Account < ARMObject
5
14
  @spec = { 'object' => 'account' }
6
15
  end
@@ -1,3 +1,3 @@
1
1
  module Payload
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
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.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Payload
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-23 00:00:00.000000000 Z
11
+ date: 2023-07-25 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.