Module: Shoutout::Metadata::QuickAccess
- Included in:
- Shoutout::Metadata
- Defined in:
- lib/shoutout/metadata.rb
Instance Method Summary collapse
Instance Method Details
#artist ⇒ Object
53 54 55 |
# File 'lib/shoutout/metadata.rb', line 53 def artist .split(" - ")[0] end |
#now_playing ⇒ Object
49 50 51 |
# File 'lib/shoutout/metadata.rb', line 49 def self[:stream_title] end |
#song ⇒ Object
57 58 59 |
# File 'lib/shoutout/metadata.rb', line 57 def song .split(" - ")[1] end |
#website ⇒ Object
45 46 47 |
# File 'lib/shoutout/metadata.rb', line 45 def website self[:stream_url] end |