lib/nationbuilder/client.rb in nationbuilder-rb-0.0.3 vs lib/nationbuilder/client.rb in nationbuilder-rb-0.1.0
- old
+ new
@@ -99,12 +99,12 @@
puts "=" * endpoint_str.length
self[endpoint_name].methods.each do |method_name|
puts
method = self[endpoint_name][method_name]
- puts " Method: #{method_name.inspect}"
+ puts " Method: #{method_name}"
puts " Description: #{method.description}"
- required_params = method.parameters.map { |p| p.inspect }
+ required_params = method.parameters.map { |p| p }
if required_params.any?
puts " Required parameters: #{required_params.join(', ')}"
end
end
end