Class: Fosdick::Receiver
- Inherits:
-
Object
- Object
- Fosdick::Receiver
- Defined in:
- lib/fosdick/receiver.rb
Instance Method Summary collapse
- #call_api(fosdick_options) ⇒ Object
-
#initialize(end_point, request_options = {}) ⇒ Receiver
constructor
A new instance of Receiver.
Constructor Details
#initialize(end_point, request_options = {}) ⇒ Receiver
Returns a new instance of Receiver.
7 8 9 10 |
# File 'lib/fosdick/receiver.rb', line 7 def initialize(end_point, ={}) @end_point = end_point = end |
Instance Method Details
#call_api(fosdick_options) ⇒ Object
12 13 14 |
# File 'lib/fosdick/receiver.rb', line 12 def call_api() fetch_data(@end_point, ) end |