class Spof::Wrapper

Public Class Methods

new(options = {}) click to toggle source
# File lib/wrapper.rb, line 8
def initialize(options = {})
        @type = nil
        Spof.config(options)
end

Public Instance Methods

album() click to toggle source
# File lib/wrapper.rb, line 13
def album
        @type = :album
        self
end
all() click to toggle source
# File lib/wrapper.rb, line 28
def all
        @all = true
        self
end
artist() click to toggle source
# File lib/wrapper.rb, line 18
def artist
        @type = :artist
        self
end
track() click to toggle source
# File lib/wrapper.rb, line 23
def track
        @type = :track
        self
end