reviewed 0.1.0 → 0.1.1

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.
@@ -1,4 +1,4 @@
1
1
  module Reviewed
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  API_VERSION = 'v1'
4
4
  end
data/lib/reviewed.rb CHANGED
@@ -31,6 +31,10 @@ module Reviewed
31
31
 
32
32
  attr_accessor :global_params
33
33
 
34
+ def global_params
35
+ @global_params ||= {}
36
+ end
37
+
34
38
  def client
35
39
  @client ||= Reviewed::Client.new
36
40
  end
@@ -14,6 +14,13 @@ describe Reviewed do
14
14
  end
15
15
  end
16
16
 
17
+ describe '.global_params' do
18
+
19
+ it 'returns a hash' do
20
+ Reviewed.global_params.should eql({})
21
+ end
22
+ end
23
+
17
24
 
18
25
  describe '.client' do
19
26
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reviewed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: