restulicious 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,9 @@
1
1
  module Restulicious
2
2
  class Coordinator
3
3
 
4
- def initialize(klazz)
4
+ def initialize(klazz, api_options)
5
5
  @klazz = klazz
6
+ api_options(api_options)
6
7
  end
7
8
 
8
9
  def query_interface
@@ -39,11 +39,11 @@ module Restulicious
39
39
  private
40
40
 
41
41
  def api_options(options)
42
- coordinator.api_options(options)
42
+ @api_options = options
43
43
  end
44
44
 
45
45
  def coordinator
46
- @coordinator ||= Restulicious::Coordinator.new(self)
46
+ Restulicious::Coordinator.new(self, @api_options)
47
47
  end
48
48
 
49
49
  end
@@ -1,3 +1,3 @@
1
1
  module Restulicious
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restulicious
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: