korboard 0.0.4 → 0.0.5

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.
@@ -5,11 +5,11 @@ require 'active_support/inflector'
5
5
 
6
6
  class Korboard::Client
7
7
 
8
- def initialize
8
+ def initialize params
9
9
 
10
10
 
11
- @token = ::Rails.application.config.korboard.api_token
12
- @iteration_number = ::Rails.application.config.korboard.iteration_number
11
+ @token = params[:api_secret]
12
+ @iteration_number = params[:iteration]
13
13
  @http = Net::HTTP.new('api.korboard.com')
14
14
  @headers = {
15
15
  'Content-Type' => 'application/json'
@@ -1,3 +1,3 @@
1
1
  module Korboard
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: korboard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: