Class: MusixMatch::LyricsFindResult
- Inherits:
-
Object
- Object
- MusixMatch::LyricsFindResult
- Defined in:
- lib/musix_match/lyrics_find_result.rb
Instance Attribute Summary collapse
-
#execute_time ⇒ Object
readonly
Returns the value of attribute execute_time.
-
#lyrics ⇒ Object
readonly
Returns the value of attribute lyrics.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
-
#status_code ⇒ Object
readonly
Returns the value of attribute status_code.
Instance Method Summary collapse
-
#initialize(response) ⇒ LyricsFindResult
constructor
A new instance of LyricsFindResult.
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_time ⇒ Object (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 |
#lyrics ⇒ Object (readonly)
Returns the value of attribute lyrics.
3 4 5 |
# File 'lib/musix_match/lyrics_find_result.rb', line 3 def lyrics @lyrics end |
#response ⇒ Object (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_code ⇒ Object (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 |