Class: Tinysong::Song

Inherits:
Struct
  • Object
show all
Defined in:
lib/tinysong/search.rb

Instance Attribute Summary collapse

Instance Attribute Details

#artistObject

Returns the value of attribute artist

Returns:

  • (Object)

    the current value of artist



6
7
8
# File 'lib/tinysong/search.rb', line 6

def artist
  @artist
end

#hrefObject

Returns the value of attribute href

Returns:

  • (Object)

    the current value of href



6
7
8
# File 'lib/tinysong/search.rb', line 6

def href
  @href
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



6
7
8
# File 'lib/tinysong/search.rb', line 6

def id
  @id
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



6
7
8
# File 'lib/tinysong/search.rb', line 6

def title
  @title
end