Exception: ItunesValidator::ItunesCommunicationError

Inherits:
Error
  • Object
show all
Defined in:
lib/itunes_validator/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(code) ⇒ ItunesCommunicationError

Returns a new instance of ItunesCommunicationError.



79
80
81
# File 'lib/itunes_validator/client.rb', line 79

def initialize(code)
  @code = code
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



83
84
85
# File 'lib/itunes_validator/client.rb', line 83

def code
  @code
end