fanforce-errors 0.3 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZDQxZWIxNjAxOGU1MTAxZDIwZDJhM2IyZjA4YTI3NDc2YWY3MjdhMQ==
4
+ ZGE4YTdkZTRiNWRmYTc2ZmIzMGY0OWI2YTUwNzJiYjAwZjAzYTgzMg==
5
5
  data.tar.gz: !binary |-
6
- NDBiMjJhZTFlMzhiMmZmYjg2ZWEyMTY2YTE3NmZiM2QwOTRhOGFjMQ==
6
+ OTdiYmQ4NTgwODM3NGFlMmJjMzUwZmI5ZWUxZTJlZTQ0NGIxNzI4MQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YmNhYTkwZjU1ZTNlZTI4MmY3NDM0ODYyMjllZTg0ZTRkYmUyNzM4MzU0MjI3
10
- OTBjZWM1YmFmYmQzNzcyMzRlZmQ2NDdiMGUyNmQ0ZDAzNjhhOGQwNzhiOWJm
11
- ZWRkYjkzYmNmYmQwMjVhYjYzMDk0NjY3YjJiMGVkNzMwNWZhMDU=
9
+ YmI0N2Y5NDhjN2VkMjM1ZTUzNDlmNWUwMmU4NzNhYmU0YWI4MmQ3OGRlMjhl
10
+ NmE5YTBiNzlkZjE0YWUyOTU5ZDA0MjZhMDlmZDcxMzM2OTc4ZmFlZjRkN2Nm
11
+ ZDZlZjgwMmI3OWY5OGY0OThlYzA3ZWZlMzhiNzIyOTE2MjdkM2Y=
12
12
  data.tar.gz: !binary |-
13
- NGU4NWQ3ZjViNzgwYTIyZGQwODRjMTc3MzVlYmRmZjE1YjQ0MjQyMmNjMWRl
14
- ZmUzZWZkYjc0MjBlZTUxNTRiZGU2NGMzYTA3ZDQ3OTJkZjE0NDZlNzI1ODE2
15
- ODFiODEzNzc0YjQxN2FiNGI4ZDUxYjc3MzZjMDEyMzc0NzI5NTA=
13
+ ODk2Zjc5NzllZjFkM2Y0OWI4OTYxOGVhYWY3Mjc0N2U4ODZiNmYwY2UxYzQ1
14
+ ODUyYjAxZWNlNTJmYWYyM2FkNWZiMzRhMWVhMzc4ZDVkMjE2ODc0NzFmNjk0
15
+ NmVmMTdhOGU3ZjJiNTcwZjNhZDRlZWVjYTZkZTI3MGViNmQ2MTU=
@@ -80,6 +80,9 @@ class Fanforce::Error::NotFound < Fanforce::Error # Method or record could not b
80
80
  )
81
81
  end
82
82
  end
83
+ def self.for(resource)
84
+ self.new(resource)
85
+ end
83
86
  end
84
87
 
85
88
  class Fanforce::Error::RequestFailed < Fanforce::Error # Request has correct fields but failed for another reason
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  module Errors
3
- VERSION = '0.3'
3
+ VERSION = '0.3.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce-errors
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
  - Caleb Clark