class PayjpMock::Response::Base
Attributes
attributes[R]
Public Instance Methods
body()
click to toggle source
# File lib/payjp_mock/response/base.rb, line 4 def body @attributes.to_json end
exception()
click to toggle source
# File lib/payjp_mock/response/base.rb, line 12 def exception nil end
status()
click to toggle source
# File lib/payjp_mock/response/base.rb, line 8 def status raise NotImplementedError end
to_h()
click to toggle source
# File lib/payjp_mock/response/base.rb, line 16 def to_h @attributes end