Sha256: ae5c9fe4d85b820d9ff09d238fe63f90f892c870872ae34a81580e9d3e55b7a8
Contents?: true
Size: 669 Bytes
Versions: 3
Compression:
Stored size: 669 Bytes
Contents
module Songkickr # A single artist # # { # "uri":"http://www.songkick.com/artists/253846-radiohead", # "displayName":"Radiohead", # "id":253846, # "onTourUntil":"2010-01-01" # } # # http://www.songkick.com/developer/artist-search class Artist attr_accessor :uri, :display_name, :id, :uri, :on_tour_until # Accepts a hash of artist attributes. def initialize(artist_hash = {}) @uri = artist_hash["uri"] @display_name = artist_hash["displayName"] @id = artist_hash["id"] @uri = artist_hash["uri"] @on_tour_until = artist_hash["onTourUntil"] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
songkickr-0.2.2 | lib/songkickr/artist.rb |
songkickr-0.2.1 | lib/songkickr/artist.rb |
songkickr-0.2.0 | lib/songkickr/artist.rb |