Class: ADN::API::Response

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/adn/api/response.rb

Instance Method Summary collapse

Instance Method Details

#has_error?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/adn/api/response.rb', line 8

def has_error?
  has_key?("error")
end