casual_helper 0.0.9 → 0.0.10

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.
data/lib/casual_helper.rb CHANGED
@@ -165,6 +165,16 @@ module CasualHelper
165
165
  post "#{@api_server.to_s}/v0/taps/#{tap_id}/update", { :feedback => { :comments => [comment_string] } }
166
166
  end
167
167
 
168
+ def get_config(id)
169
+ return if are_invalid id
170
+ get "#{@api_server.to_s}/v0/configs/#{id}"
171
+ end
172
+
173
+ def put_config(id, config)
174
+ return if are_invalid id, config
175
+ put "#{@api_server.to_s}/v0/configs/#{id}", config
176
+ end
177
+
168
178
  private
169
179
 
170
180
  def get(url)
@@ -1,3 +1,3 @@
1
1
  module CasualHelper
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 9
9
- version: 0.0.9
8
+ - 10
9
+ version: 0.0.10
10
10
  platform: ruby
11
11
  authors:
12
12
  - matthewspivey