Class: Mixpannenkoek::Results::Base
- Inherits:
-
Object
- Object
- Mixpannenkoek::Results::Base
show all
- Defined in:
- lib/mixpannenkoek/results/base.rb
Instance Method Summary
collapse
Constructor Details
#initialize(response_data) ⇒ Base
Returns a new instance of Base.
4
5
6
|
# File 'lib/mixpannenkoek/results/base.rb', line 4
def initialize(response_data)
@response_data = response_data
end
|
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(*args, &block) ⇒ Object
16
17
18
|
# File 'lib/mixpannenkoek/results/base.rb', line 16
def method_missing(*args, &block)
to_hash.send(*args, &block)
end
|
Instance Method Details
#response_data ⇒ Object
8
9
10
|
# File 'lib/mixpannenkoek/results/base.rb', line 8
def response_data
@response_data
end
|
#to_hash ⇒ Object
12
13
14
|
# File 'lib/mixpannenkoek/results/base.rb', line 12
def to_hash
@response_data
end
|