Exception: MetaSpotify::MetaSpotifyError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/meta-spotify.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ MetaSpotifyError

Returns a new instance of MetaSpotifyError.



114
115
116
117
# File 'lib/meta-spotify.rb', line 114

def initialize(data)
  @data = data
  super
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



112
113
114
# File 'lib/meta-spotify.rb', line 112

def data
  @data
end