module GuitarpartyClient::Chords
Public Instance Methods
get_chord(chord)
click to toggle source
# File lib/guitarparty_client/chords.rb, line 7 def get_chord(chord) RestClient.get "#{@base_url}chords/?query=#{chord}", {'Guitarparty-Api-Key' => @api_key} end
get_chord_variations(chord)
click to toggle source
# File lib/guitarparty_client/chords.rb, line 11 def get_chord_variations(chord) RestClient.get "#{@base_url}chords/?query=#{chord}/?variations=true", {'Guitarparty-Api-Key' => @api_key} end