Class: Trufina::Requests::BaseRequest
- Inherits:
-
Object
- Object
- Trufina::Requests::BaseRequest
- Includes:
- AllowCreationFromHash
- Defined in:
- lib/requests.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ BaseRequest
constructor
A new instance of BaseRequest.
- #render ⇒ Object
Constructor Details
#initialize(hash = {}) ⇒ BaseRequest
Returns a new instance of BaseRequest.
13 14 15 16 |
# File 'lib/requests.rb', line 13 def initialize(hash = {}) super # init method in AllowCreationFromHash autofill_from_config end |
Instance Method Details
#render ⇒ Object
18 19 20 21 22 |
# File 'lib/requests.rb', line 18 def render validate_contents # validate_against_schema # -- Functioning code doesn't validate, waiting for feedback from Trufina before implementing to_xml end |