Class: Paragraph::MixtapeMetadata
- Inherits:
-
Object
- Object
- Paragraph::MixtapeMetadata
- Defined in:
- lib/Models/Paragraph.rb
Instance Attribute Summary collapse
-
#href ⇒ Object
Returns the value of attribute href.
Instance Method Summary collapse
-
#initialize(json) ⇒ MixtapeMetadata
constructor
A new instance of MixtapeMetadata.
Constructor Details
#initialize(json) ⇒ MixtapeMetadata
Returns a new instance of MixtapeMetadata.
33 34 35 |
# File 'lib/Models/Paragraph.rb', line 33 def initialize(json) @href = json['href'] end |
Instance Attribute Details
#href ⇒ Object
Returns the value of attribute href.
32 33 34 |
# File 'lib/Models/Paragraph.rb', line 32 def href @href end |