class FancyHands::Echo
Public Class Methods
new(client)
click to toggle source
# File lib/fancyhands/v1/echo.rb, line 3 def initialize(client) @client = client end
Public Instance Methods
get(data)
click to toggle source
# File lib/fancyhands/v1/echo.rb, line 11 def get(data) return @client.request.get("echo", data) end
post(data)
click to toggle source
# File lib/fancyhands/v1/echo.rb, line 7 def post(data) return @client.request.post("echo", data) end