bitly-client-legacy 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.
Files changed (3) hide show
  1. data/README.md +3 -1
  2. data/lib/bitly/client/version.rb +1 -1
  3. metadata +2 -2
data/README.md CHANGED
@@ -21,7 +21,7 @@ Or install it yourself as:
21
21
  ## Usage
22
22
 
23
23
  ```ruby
24
- Bitly::Client.new("https://lyconic.com/2016/11/21/tips-hiring-quality-security-guards-officers/").shorten
24
+ Bitly::Client.shorten("https://lyconic.com/2016/11/21/tips-hiring-quality-security-guards-officers/")
25
25
  ```
26
26
 
27
27
  ## Config
@@ -29,6 +29,8 @@ Bitly::Client.new("https://lyconic.com/2016/11/21/tips-hiring-quality-security-g
29
29
  _your_app/config/initializers/bitly_client.rb_
30
30
 
31
31
  ```ruby
32
+ require "bitly/client"
33
+
32
34
  Bitly::Client.configure do |config|
33
35
  config.api_token = YOUR_GENERIC_OATH_ACCESS_TOKEN
34
36
  config.api_url = BITLY_API_SHORTEN_URL # e.g. https://api-ssl.bitly.com/v4/shorten
@@ -1,5 +1,5 @@
1
1
  module Bitly
2
2
  module Client
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitly-client-legacy
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:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-03-21 00:00:00.000000000 Z
12
+ date: 2021-03-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler