Class: Karaden::Net::ResponseInterface

Inherits:
Object
  • Object
show all
Defined in:
lib/karaden/net/response_interface.rb

Direct Known Subclasses

NoContentsResponse, Response

Instance Method Summary collapse

Instance Method Details

#errorObject

Raises:

  • (NotImplementedError)


4
5
6
# File 'lib/karaden/net/response_interface.rb', line 4

def error()
  raise NotImplementedError
end

#error?Boolean

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


20
21
22
# File 'lib/karaden/net/response_interface.rb', line 20

def error?()
  raise NotImplementedError
end

#headersObject

Raises:

  • (NotImplementedError)


16
17
18
# File 'lib/karaden/net/response_interface.rb', line 16

def headers()
  raise NotImplementedError
end

#objectObject

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/karaden/net/response_interface.rb', line 8

def object()
  raise NotImplementedError
end

#status_codeObject

Raises:

  • (NotImplementedError)


12
13
14
# File 'lib/karaden/net/response_interface.rb', line 12

def status_code()
  raise NotImplementedError
end