chatbase 0.1.02 → 0.1.03

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: e8607c467dbcf0d92b53b685b59f0586385e2ba4
4
- data.tar.gz: b162b4c25edd64058b1391d4ae76fb1377053ef2
3
+ metadata.gz: ba6c32b549623e7f9db45d0de48ce88b9c04f0f8
4
+ data.tar.gz: 6a05eaaa3501106d2fdf678c8d4533779d771af2
5
5
  SHA512:
6
- metadata.gz: 7d5e4f88085ffd575a7bb5be52c67867acc447d3afefed1374d7638b8ee9c90be2b94b8758b9ab354bb30e25e28ba4fe46bee7036183fba7fc7d03d144ae1e03
7
- data.tar.gz: '029b14e107586acf2ba3fa260f81f911eed821b512cb0b47b0fffb0861b6714e8870c64dc4762550fbdb8cb5a5348a9595b129a37d4aa98289cb13facdb7861f'
6
+ metadata.gz: 958ce3922f74cf86c44276dd8468d696f6f92724dda0579b9acfcc4f9ddf174b6135849c25354b90d3a76696de829d3bad22c048e6873320184d9342212f33e0
7
+ data.tar.gz: c5fcfe1dd16ec1060949be0a9c59328568a609cfb91c23a5bcdf1ee33a55efe47195d5a73afe284297a1d547c707fe66d61c4a8356a6a7a585408f61fc583178
data/README.md CHANGED
@@ -21,7 +21,9 @@ bundle install chatbase
21
21
 
22
22
  # Setup
23
23
 
24
- Initialize the the gem by setting your username and password:
24
+ Initialize the the gem by setting your Agent Key (agent_key) and Agent Name (agent_name).
25
+
26
+ eg: config/initializers/chatbase.rb
25
27
 
26
28
  ```
27
29
  Chatbase.agent_key = 'your-agent-api-key'
@@ -9,7 +9,7 @@ module Chatbase
9
9
 
10
10
  def connection
11
11
  @connection ||= begin
12
- Faraday.new(:url => 'https://chatbase-area120.appspot.com/api/message') do |faraday|
12
+ Faraday.new(:url => 'https://chatbase.com/api/message') do |faraday|
13
13
  faraday.response :json, :content_type => /\bjson$/
14
14
  faraday.adapter Faraday.default_adapter # make requests with Net::HTTP
15
15
  end
@@ -1,3 +1,3 @@
1
1
  module Chatbase
2
- VERSION = "0.1.02"
2
+ VERSION = "0.1.03"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chatbase
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.02
4
+ version: 0.1.03
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eugeniu Tambur