Class: Nyauth::ConfimationRequestService
- Inherits:
-
Object
- Object
- Nyauth::ConfimationRequestService
- Includes:
- ActiveModel::Model
- Defined in:
- app/services/nyauth/confirmation_request_service.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
Instance Method Summary collapse
-
#initialize(client) ⇒ ConfimationRequestService
constructor
A new instance of ConfimationRequestService.
- #save ⇒ Object
Constructor Details
#initialize(client) ⇒ ConfimationRequestService
Returns a new instance of ConfimationRequestService.
6 7 8 |
# File 'app/services/nyauth/confirmation_request_service.rb', line 6 def initialize(client) @client = client end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
4 5 6 |
# File 'app/services/nyauth/confirmation_request_service.rb', line 4 def client @client end |
Instance Method Details
#save ⇒ Object
10 11 12 13 |
# File 'app/services/nyauth/confirmation_request_service.rb', line 10 def save client.request_confirmation client.save end |