Method: Tagstand::TagstandError#initialize

Defined in:
lib/tagstand.rb

#initialize(data) ⇒ TagstandError

Returns a new instance of TagstandError.



36
37
38
39
# File 'lib/tagstand.rb', line 36

def initialize(data)
  @data = Hashie::Mash.new(data)
  super "The Tagstand API responded with the following error - #{data}"
end