Class: Kount::Error

Inherits:
AbstractResponse show all
Defined in:
lib/kount/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ Error



7
8
9
# File 'lib/kount/error.rb', line 7

def initialize(data)
  @data = data
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



5
6
7
# File 'lib/kount/error.rb', line 5

def data
  @data
end

Instance Method Details

#approved?Boolean



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

def approved?
  false
end

#ok?Boolean



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

def ok?
  false
end

#to_hashObject



11
12
13
# File 'lib/kount/error.rb', line 11

def to_hash
  @data
end