Class: MotionGiphy::Request
- Inherits:
-
Object
- Object
- MotionGiphy::Request
- Defined in:
- lib/motion-giphy/request.rb
Instance Method Summary collapse
Instance Method Details
#get(path, options = {}, &block) ⇒ Object
3 4 5 6 7 |
# File 'lib/motion-giphy/request.rb', line 3 def get(path, = {}, &block) client.get(path, ()) do |result| block.call response.build_with_result(result) end end |