tito 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df50b861ed8eff233eade3ea29ac679067810d2b
4
- data.tar.gz: c936887b68381809a95ed0e44cbf90a1fb4d9e11
3
+ metadata.gz: fa760b6d24aad503f8acf72dd9e27c390af4d2df
4
+ data.tar.gz: d52b2e9c5f135d2f3dea11d82546f52d8fea3f30
5
5
  SHA512:
6
- metadata.gz: 6452100251de56ff857ca806ce0055d63583404e865e7913aba8537bcf084d6e143e548a32d7d7f463921f172f951eca7b1d7f2e4f3248a36ac052b475aed0be
7
- data.tar.gz: cfb2e843ce5a4c43b21d24b42e0e220e78f764d4ca7a2c92decb18c0a800e8c75defad77b3ba2045f4549085534a9929efa42ab61456982699e61d8c424954b6
6
+ metadata.gz: afc9e928c3cb8714cbd511872853f727228bbf909e3088ed52ad48e10bd281fc947bdb428d8cbe9ca68085e32828eb750ec0bd049c001b83824cb231865634d0
7
+ data.tar.gz: 018d1d4c8b959c04982e1444ca03e9ea4c79d4d0ae46a5d59ced1be448485b14943764aa9bd52d5aaa72f04dac04930fef9ba62f74a343927bf459a80537623a
data/lib/tito/base.rb CHANGED
@@ -1,6 +1,8 @@
1
1
  module Tito
2
2
  class Base < JsonApiClient::Resource
3
- self.site = ENV['TITO_SITE'] || "https://api.tito.io/v2"
3
+ def self.site
4
+ ENV['TITO_SITE'] || "https://api.tito.io/v2"
5
+ end
4
6
 
5
7
  def self.with_api_key(api_key)
6
8
  with_params(api_key: api_key)
data/lib/tito/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tito
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tito
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Campbell