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 +4 -4
- data/lib/payload/objects.rb +9 -0
- data/lib/payload/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bab3aa7202ecf90ba0e88cfcdaf91eda738ee593a1ea2d38a390a29fd87b9813
|
4
|
+
data.tar.gz: 4380c8d7ce309fc97aed9a2f07d1fa0d1516b3b9823de647df831483ded14f54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb8e9e90bb630c7dbccd23161e0dac207ff53068e6f95b8438a03dc9b3176a423b2da3e85b9b188f77a023ead8b583723528e50c83c35c143f08e8925580ac4f
|
7
|
+
data.tar.gz: b6d2f1d4a6923fc64ea7b08b8d89247fd9905ee212e90a93e80e6984d20ea20c93c88c573ff4f6ee31450d0af0460c2a4678c16bc809568b27076e7a71ef29fa
|
data/lib/payload/objects.rb
CHANGED
@@ -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
|
data/lib/payload/version.rb
CHANGED
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.
|
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-
|
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.
|