Exception: Spellr::DidAdd

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(token = nil) ⇒ DidAdd

Returns a new instance of DidAdd.



15
16
17
# File 'lib/spellr.rb', line 15

def initialize(token = nil)
  @token = token
end

Instance Attribute Details

#tokenObject (readonly)

Returns the value of attribute token.



13
14
15
# File 'lib/spellr.rb', line 13

def token
  @token
end