Class: MusixMatch::LyricsFindResult

Inherits:
Object
  • Object
show all
Defined in:
lib/musix_match/lyrics_find_result.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ LyricsFindResult

Returns a new instance of LyricsFindResult.



5
6
7
8
# File 'lib/musix_match/lyrics_find_result.rb', line 5

def initialize(response)
  @response = response
  parse_response(response)
end

Instance Attribute Details

#execute_timeObject (readonly)

Returns the value of attribute execute_time.



3
4
5
# File 'lib/musix_match/lyrics_find_result.rb', line 3

def execute_time
  @execute_time
end

#lyricsObject (readonly)

Returns the value of attribute lyrics.



3
4
5
# File 'lib/musix_match/lyrics_find_result.rb', line 3

def lyrics
  @lyrics
end

#responseObject (readonly)

Returns the value of attribute response.



3
4
5
# File 'lib/musix_match/lyrics_find_result.rb', line 3

def response
  @response
end

#status_codeObject (readonly)

Returns the value of attribute status_code.



3
4
5
# File 'lib/musix_match/lyrics_find_result.rb', line 3

def status_code
  @status_code
end