lib/headdesk/apk/resources.rb in headdesk-0.9.0 vs lib/headdesk/apk/resources.rb in headdesk-0.10.0
- old
+ new
@@ -48,11 +48,9 @@
super unless @resources.include?(method_name.to_s)
OpenStruct.new(@resources[method_name.to_s])
end
- private
-
def self.api_versions(modifiers)
mods = [nil]
if modifiers.key?(:v)
(1..modifiers[:v].to_i).each do |api_version|
mods << "-v#{api_version}"