casual_helper 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module CasualHelper
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
data/lib/casual_helper.rb CHANGED
@@ -165,11 +165,13 @@ module CasualHelper
165
165
  post "#{@api_server.to_s}/v0/taps/#{tap_id}/update", { :feedback => { :comments => [comment_string] } }
166
166
  end
167
167
 
168
+ # @return hash with attributes passed in and readable_id
168
169
  def get_config(id)
169
170
  return if are_invalid id
170
171
  get "#{@api_server.to_s}/v0/configs/#{id}"
171
172
  end
172
173
 
174
+ # @param config is a hash
173
175
  def put_config(id, config)
174
176
  return if are_invalid id, config
175
177
  put "#{@api_server.to_s}/v0/configs/#{id}", config
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 10
9
- version: 0.0.10
8
+ - 11
9
+ version: 0.0.11
10
10
  platform: ruby
11
11
  authors:
12
12
  - matthewspivey