Class: Paragraph::MixtapeMetadata

Inherits:
Object
  • Object
show all
Defined in:
lib/Models/Paragraph.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ MixtapeMetadata

Returns a new instance of MixtapeMetadata.



47
48
49
# File 'lib/Models/Paragraph.rb', line 47

def initialize(json)
    @href = json['href']
end

Instance Attribute Details

#hrefObject

Returns the value of attribute href.



46
47
48
# File 'lib/Models/Paragraph.rb', line 46

def href
  @href
end