framed_rails 0.1.2 → 0.1.3

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.
data/README.md CHANGED
@@ -14,7 +14,7 @@ To use this with rails:
14
14
  require 'framed_rails'
15
15
 
16
16
  Framed.configure do |config|
17
- config[:write_key] = 'Framed key'
17
+ config[:api_key] = 'YOUR_FRAMED_API_KEY'
18
18
  end
19
19
  ```
20
20
 
data/lib/framed/client.rb CHANGED
@@ -10,7 +10,7 @@ module Framed
10
10
 
11
11
  def initialize(config)
12
12
  raise Error.new('No API endpoint specified') unless config[:endpoint]
13
- raise Error.new('No write_key specified') unless config[:write_key]
13
+ raise Error.new('No api_key specified') unless config[:api_key]
14
14
 
15
15
  @config = config
16
16
  end
@@ -1,7 +1,7 @@
1
1
  require 'framed_rails'
2
2
 
3
3
  Framed.configure do |config|
4
- config[:write_key] = 'XWkzILLq5gLUKXQUhAl4DJej1wkxqiBy'
4
+ config[:api_key] = 'XWkzILLq5gLUKXQUhAl4DJej1wkxqiBy'
5
5
  # config[:consumer] = Framed::Blocking
6
6
  end
7
7
 
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module Framed
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: framed_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: