Class: GiantBombApi::Request
- Inherits:
-
Object
- Object
- GiantBombApi::Request
- Defined in:
- lib/giant_bomb_api/request.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Collection, Detail, Search
Instance Attribute Summary collapse
-
#end_point ⇒ Object
Returns the value of attribute end_point.
-
#params ⇒ Object
Returns the value of attribute params.
Instance Method Summary collapse
-
#initialize(end_point, params) ⇒ Request
constructor
A new instance of Request.
Constructor Details
#initialize(end_point, params) ⇒ Request
Returns a new instance of Request.
5 6 7 8 |
# File 'lib/giant_bomb_api/request.rb', line 5 def initialize(end_point, params) @params = params @end_point = end_point end |
Instance Attribute Details
#end_point ⇒ Object
Returns the value of attribute end_point.
3 4 5 |
# File 'lib/giant_bomb_api/request.rb', line 3 def end_point @end_point end |
#params ⇒ Object
Returns the value of attribute params.
3 4 5 |
# File 'lib/giant_bomb_api/request.rb', line 3 def params @params end |