exceptions-resource 0.0.2p02 → 0.0.2p04

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2e5e35662b681f45078e7021ebaba453bd7f07d2
4
- data.tar.gz: e4f76be075279d3c826a7ef362a0394a21e81133
3
+ metadata.gz: 659614974614117f357dd7f118d75987fd106fea
4
+ data.tar.gz: 2ea7687c01583e3b694875255243c50cbd9728eb
5
5
  SHA512:
6
- metadata.gz: 8fa9f062003e0dcc95f8c3c1da54ffa17c064373574faec86421977c026bffe5bd2e47bd33a98ef485c611c1f729aff21a4bad2f604c0531489164ea10d77761
7
- data.tar.gz: fa0baea25cbfe0ee678fb8935bf837e26c774afb92204f17991e67bd4869b253224b240cf14444ac0e7aa0cc73fbd4fa45d1c40620bbd8ce913ae3ea3fa0ec16
6
+ metadata.gz: ec5451c4c2096485bed3f0ed0977d930cb37d7854517429216a8f16f790ef5df5792a6bb7181ac86426ac7224939d49aec702f786b797ce47faf75069dfc6ca8
7
+ data.tar.gz: 4c1fd6707cfcb9a7011aabcba412c99ed5d08d2d9e57dfdc523339e4371b1f80451f48abad21fad4d4fa5fd57db2252b47bd5879eaafd27ec0d3359287e02296
@@ -1,5 +1,7 @@
1
+ require 'base'
2
+
1
3
  module Exceptions
2
- class Model < Base
4
+ class Model < Exceptions::Base
3
5
  # for model errors this method build a hash with all necessary information
4
6
  # @return [String] json string
5
7
  def error
@@ -1,5 +1,5 @@
1
1
  module Exceptions
2
- class Resource < Base
2
+ class Resource < Exceptions::Base
3
3
  # for standard errors this method build a hash
4
4
  # @return [String] json string
5
5
  def error
@@ -1,6 +1,6 @@
1
1
  # represents the simple errors
2
2
  module Exceptions
3
- class Simple < Base
3
+ class Simple < Exceptions::Base
4
4
  attr_accessor :status
5
5
 
6
6
 
@@ -1,6 +1,8 @@
1
+ require 'base'
2
+
1
3
  # represents the simple errors
2
4
  module Exceptions
3
- class UnauthorizedApplication < Base
5
+ class UnauthorizedApplication < Exceptions::Base
4
6
  attr_accessor :status
5
7
 
6
8
 
@@ -1,3 +1,3 @@
1
1
  module Exceptions
2
- VERSION = "0.0.2p02"
2
+ VERSION = "0.0.2p04"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exceptions-resource
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2p02
4
+ version: 0.0.2p04
5
5
  platform: ruby
6
6
  authors:
7
7
  - Douglas Rossignolli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-06 00:00:00.000000000 Z
11
+ date: 2015-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler