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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f8493e94acd1e6a129764c830e31111088ecdde7
4
- data.tar.gz: 7f2919d25338b5d908e957d21a161eef3907ab35
3
+ metadata.gz: 31473a5421bed8c80fb386437d87d08f5f906b70
4
+ data.tar.gz: 05df26f63a70efdd9d4172aee42269f1e89d00d0
5
5
  SHA512:
6
- metadata.gz: ce220e933e0b3acc6b2109bfc69278582800170d21d3206a03d7063149fb88e617fb0200c6c1f48006863b3be447c3652aea0e75142b42d71d8410dcbcb9e9dc
7
- data.tar.gz: c9ff6bde14c21eabc7c62db359916cfca3681fa5a6ed453d6e40b08bcf81fcac167e88cbd7ba712b800ad7ec74f1df6b4b14c3863a392795af53fbe2fcd4a7ce
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
- project = PrintReleaf::Paper::Type.find("a11c7abc-011e-462f-babb-3c6375fa6473") #=> #<PrintReleaf::Paper::Type>
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
- Be default, PrintReleaf does not perform any logging. You may provide a logger for PrintReleaf to write to:
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'
@@ -15,6 +15,7 @@ module PrintReleaf
15
15
  property :url
16
16
  property :username
17
17
  property :password
18
+ property :contact
18
19
 
19
20
  def account
20
21
  @account ||= Account.find(account_id)
@@ -1,3 +1,3 @@
1
1
  module PrintReleaf
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
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.2
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-03-21 00:00:00.000000000 Z
11
+ date: 2017-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hashie