Class: Lotus::Action::Request

Inherits:
Rack::Request
  • Object
show all
Defined in:
lib/lotus/action/request.rb

Overview

An HTTP request based on top of Rack::Request. This guarantees backwards compatibility with with Rack.

Instance Method Summary collapse

Instance Method Details

#[]Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Raises:

  • (NotImplementedError)

Since:

  • 0.3.1



65
66
67
# File 'lib/lotus/action/request.rb', line 65

def [](*)
  raise NotImplementedError, 'Please use params passed to Action#call'
end

#[]=Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Raises:

  • (NotImplementedError)

Since:

  • 0.3.1



73
74
75
# File 'lib/lotus/action/request.rb', line 73

def []=(*)
  raise NotImplementedError, 'Please use params passed to Action#call'
end

#content_typeObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Raises:

  • (NotImplementedError)

Since:

  • 0.3.1



17
18
19
# File 'lib/lotus/action/request.rb', line 17

def content_type
  raise NotImplementedError, 'Please use Action#content_type'
end

#cookiesObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Raises:

  • (NotImplementedError)

Since:

  • 0.3.1



33
34
35
# File 'lib/lotus/action/request.rb', line 33

def cookies
  raise NotImplementedError, 'Please include Action::Cookies and use Action#cookies'
end

#delete_paramObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Raises:

  • (NotImplementedError)

Since:

  • 0.3.1



57
58
59
# File 'lib/lotus/action/request.rb', line 57

def delete_param(*)
  raise NotImplementedError, 'Please use params passed to Action#call'
end

#paramsObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Raises:

  • (NotImplementedError)

Since:

  • 0.3.1



41
42
43
# File 'lib/lotus/action/request.rb', line 41

def params
  raise NotImplementedError, 'Please use params passed to Action#call'
end

#sessionObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Raises:

  • (NotImplementedError)

Since:

  • 0.3.1



25
26
27
# File 'lib/lotus/action/request.rb', line 25

def session
  raise NotImplementedError, 'Please include Action::Session and use Action#session'
end

#update_paramObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Raises:

  • (NotImplementedError)

Since:

  • 0.3.1



49
50
51
# File 'lib/lotus/action/request.rb', line 49

def update_param(*)
  raise NotImplementedError, 'Please use params passed to Action#call'
end

#values_atObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Raises:

  • (NotImplementedError)

Since:

  • 0.3.1



81
82
83
# File 'lib/lotus/action/request.rb', line 81

def values_at(*)
  raise NotImplementedError, 'Please use params passed to Action#call'
end