class MetalArchives::Label

Represents a record label

Attributes

address[R]

Returns multiline String

Raises
contact[R]

Returns Hash with the following keys: title, content

country[R]

Returns ISO316::Country

Raises
date_founded[R]

Returns NilDate

Raises
id[R]

Returns Integer

name[R]

Returns String

Raises
online_shopping[R]

Returns Boolean

phone[R]

Returns String

Raises
specializations[R]

Returns Array of String

Raises
status[R]

Returns :active, :closed or :unknown

sub_labels[R]

Returns Array of Label

Public Class Methods

find_by_name(name, id) click to toggle source

Find by name and id.

Returns Label

# File lib/metal_archives/models/label.rb, line 127
def find_by_name(name, id)
  client.find_resource(
    :band,
    :name => name,
    :id => id
  )
end