printreleaf 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -3
- data/lib/printreleaf/server.rb +1 -0
- data/lib/printreleaf/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31473a5421bed8c80fb386437d87d08f5f906b70
|
4
|
+
data.tar.gz: 05df26f63a70efdd9d4172aee42269f1e89d00d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 241bdcde4a8f97a07a6552bb581d501b2c9b3a1643254219d82759586a819954b3146765c546c0e42932e12725692badc123c97300126222415b8a15343cdb5a
|
7
|
+
data.tar.gz: a75e0ddfc79c67aa7765583918126a053eb6cbccc1c695dd37875081e1461e7740fb5509bc9e32c1cf2386f8c6865e937dea93d133625eef0b824a32bf9f6045
|
data/README.md
CHANGED
@@ -232,6 +232,7 @@ server.account #=> #<PrintReleaf::Account>
|
|
232
232
|
server.type #=> "fmaudit"
|
233
233
|
server.url #=> "https://myfmauditserver.com"
|
234
234
|
server.username #=> "MyFMAuditUsername"
|
235
|
+
server.contact #=> "person@example.com"
|
235
236
|
server.created_at #=> "2015-03-07T00:04:09Z"
|
236
237
|
```
|
237
238
|
|
@@ -242,7 +243,8 @@ server = PrintReleaf::Server.create(
|
|
242
243
|
type: "printfleet",
|
243
244
|
url: "https://myprintfleetserver.com",
|
244
245
|
username: "MyPrintFleetUsername",
|
245
|
-
password: "MyPrintFleetPassword"
|
246
|
+
password: "MyPrintFleetPassword",
|
247
|
+
contact: "person@example.com"
|
246
248
|
) #=> #<PrintReleaf::Server>
|
247
249
|
```
|
248
250
|
|
@@ -487,7 +489,7 @@ PrintReleaf::Paper::Type.list #=> [#<PrintReleaf::Paper::Type>, #<PrintReleaf::P
|
|
487
489
|
### Retrieving a Paper Type
|
488
490
|
|
489
491
|
```ruby
|
490
|
-
|
492
|
+
paper_type = PrintReleaf::Paper::Type.find("a11c7abc-011e-462f-babb-3c6375fa6473") #=> #<PrintReleaf::Paper::Type>
|
491
493
|
paper_type.id #=> "a11c7abc-011e-462f-babb-3c6375fa6473"
|
492
494
|
paper_type.account_id #=> "a2c031fa-6599-4939-8bc6-8128881953c4"
|
493
495
|
paper_type.account #=> #<PrintReleaf::Account>
|
@@ -539,7 +541,7 @@ end
|
|
539
541
|
|
540
542
|
#### Logging
|
541
543
|
|
542
|
-
|
544
|
+
By default, PrintReleaf does not perform any logging. You may provide a logger for PrintReleaf to write to:
|
543
545
|
|
544
546
|
```ruby
|
545
547
|
require 'logger'
|
data/lib/printreleaf/server.rb
CHANGED
data/lib/printreleaf/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: printreleaf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Casey O'Hara
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hashie
|