class Button::Links
Public Instance Methods
create(link)
click to toggle source
Create a Link
@param [Hash] link the link to create @return [Button::Response] the API response
# File lib/button/resources/links.rb, line 16 def create(link) api_post(path, link) end
get_info(link)
click to toggle source
Get information for Link
@param [Hash] link the link to get information on @return [Button::Response] the API response
# File lib/button/resources/links.rb, line 25 def get_info(link) api_post(path + '/info', link) end
path()
click to toggle source
# File lib/button/resources/links.rb, line 7 def path '/v1/links' end