Class: Unit::Authorization::GetRequest
- Inherits:
-
Object
- Object
- Unit::Authorization::GetRequest
- Defined in:
- lib/unit/models/authorization/get_request.rb
Instance Attribute Summary collapse
-
#authorization_id ⇒ Object
readonly
Returns the value of attribute authorization_id.
-
#include_non_authorized ⇒ Object
readonly
Returns the value of attribute include_non_authorized.
Instance Method Summary collapse
-
#initialize(authorization_id, include_non_authorized = nil) ⇒ GetRequest
constructor
A new instance of GetRequest.
- #to_hash ⇒ Object
Constructor Details
#initialize(authorization_id, include_non_authorized = nil) ⇒ GetRequest
Returns a new instance of GetRequest.
12 13 14 15 |
# File 'lib/unit/models/authorization/get_request.rb', line 12 def initialize(, = nil) @authorization_id = @include_non_authorized = end |
Instance Attribute Details
#authorization_id ⇒ Object (readonly)
Returns the value of attribute authorization_id.
8 9 10 |
# File 'lib/unit/models/authorization/get_request.rb', line 8 def @authorization_id end |
#include_non_authorized ⇒ Object (readonly)
Returns the value of attribute include_non_authorized.
8 9 10 |
# File 'lib/unit/models/authorization/get_request.rb', line 8 def @include_non_authorized end |
Instance Method Details
#to_hash ⇒ Object
17 18 19 |
# File 'lib/unit/models/authorization/get_request.rb', line 17 def to_hash { 'filter[includeNonAuthorized]': }.compact end |