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.
47 48 49 |
# File 'lib/Models/Paragraph.rb', line 47 def initialize(json) @href = json['href'] end |
Instance Attribute Details
#href ⇒ Object
Returns the value of attribute href.
46 47 48 |
# File 'lib/Models/Paragraph.rb', line 46 def href @href end |