Class: AppleMusic::Error::Source

Inherits:
Object
  • Object
show all
Defined in:
lib/apple_music/error.rb

Overview

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Source

Returns a new instance of Source.



21
22
23
24
# File 'lib/apple_music/error.rb', line 21

def initialize(options = {})
  @parameter = options['parameter']
  @pointer = options['pointer']
end

Instance Attribute Details

#parameterObject (readonly)

Returns the value of attribute parameter.



19
20
21
# File 'lib/apple_music/error.rb', line 19

def parameter
  @parameter
end

#pointerObject (readonly)

Returns the value of attribute pointer.



19
20
21
# File 'lib/apple_music/error.rb', line 19

def pointer
  @pointer
end