safer_bus_api 0.0.9 → 1.0.0

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: 9e681d1b9c62e6b0c972e0c367a23de5aa141659
4
- data.tar.gz: 3b8ad11d81bf07b4e02b727cd845e7d094a54445
3
+ metadata.gz: 1f3d2d7fae05693e581fb4cb7081b84476e2a4f8
4
+ data.tar.gz: bee24293efb38b11179229953474affe577e8293
5
5
  SHA512:
6
- metadata.gz: 4dfd55bd90adb8039739a4546cd7c278a4ec083440057f72755fbfeb7740559db1bd2b53a12e7b6f5beea0d71661894a55f4012882119f89a8498648e9067441
7
- data.tar.gz: f258ee9b743e3243542e0908f7a38ce90e4a46fca68e5bd1bf6a083ca5c8ca70d0c19ddea3e58b9cc310d980f3bc39e9c0f9d36619576a56fa4f427a5b47728c
6
+ metadata.gz: 914a564c34c9ff68193c1926d1f81171d8cd668d312b114a9bd3455d35f7a851d38bb7369c62885c878ff63b473b446f4e5caae07db012f599086f5c76079f9f
7
+ data.tar.gz: 5e44e7c2c80471bcfeb3e63d7802fdda0e40a11c7528c54f379eb87292d4140699f1820fc1b149c6a7e4d4ad758c109697a9b2151cad5c5f9f3e5351cef2dbf6
@@ -3,7 +3,7 @@ module SaferBusApi
3
3
  @data = {:api_token => ''}
4
4
 
5
5
  def update!(data)
6
- data.each do |key, value|
6
+ @data.each do |key, value|
7
7
  self[key] = value
8
8
  end
9
9
  end
@@ -1,3 +1,3 @@
1
1
  module SaferBusApi
2
- VERSION = "0.0.9"
2
+ VERSION = "1.0.0"
3
3
  end
data/lib/safer_bus_api.rb CHANGED
@@ -9,6 +9,8 @@ require 'safer_bus_api/request'
9
9
  require 'safer_bus_api/response'
10
10
 
11
11
  module SaferBusApi
12
+ module_function
13
+
12
14
  def configure
13
15
  yield SaferBusApi::Configuration
14
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: safer_bus_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Bertram