class MetalArchives::Label
Represents a record label
Attributes
Returns multiline String
- Raises
-
MetalArchives::Errors::InvalidIDError
when no or invalid id -
MetalArchives::Errors::APIError
when receiving a status code >= 400 (except 404)
Returns Hash
with the following keys: title
, content
Returns ISO316::Country
- Raises
-
MetalArchives::Errors::InvalidIDError
when no or invalid id -
MetalArchives::Errors::APIError
when receiving a status code >= 400 (except 404)
Returns NilDate
- Raises
-
MetalArchives::Errors::InvalidIDError
when no or invalid id -
MetalArchives::Errors::APIError
when receiving a status code >= 400 (except 404)
Returns Integer
Returns String
- Raises
-
MetalArchives::Errors::InvalidIDError
when no or invalid id -
MetalArchives::Errors::APIError
when receiving a status code >= 400 (except 404)
Returns Boolean
Returns String
- Raises
-
MetalArchives::Errors::InvalidIDError
when no or invalid id -
MetalArchives::Errors::APIError
when receiving a status code >= 400 (except 404)
Returns Array
of String
- Raises
-
MetalArchives::Errors::InvalidIDError
when no or invalid id -
MetalArchives::Errors::APIError
when receiving a status code >= 400 (except 404)
Returns :active
, :closed
or :unknown
Returns Array
of Label
Public Class Methods
Find by name and id.
Returns Label
# File lib/metal_archives/models/label.rb, line 128 def find_by_name(name, id) client.find_resource( :band, name: name, id: id ) end
Search by name.
Returns Array
of Label
# File lib/metal_archives/models/label.rb, line 118 def search(_name) results = [] results end