Method: Verizon::TargetAuthenticationBody#initialize
- Defined in:
- lib/verizon/models/target_authentication_body.rb
#initialize(grant_type = SKIP, refresh_token = SKIP, scope = SKIP, headers = SKIP, host = SKIP) ⇒ TargetAuthenticationBody
Returns a new instance of TargetAuthenticationBody.
59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/verizon/models/target_authentication_body.rb', line 59 def initialize(grant_type = SKIP, refresh_token = SKIP, scope = SKIP, headers = SKIP, host = SKIP) @grant_type = grant_type unless grant_type == SKIP @refresh_token = refresh_token unless refresh_token == SKIP @scope = scope unless scope == SKIP @headers = headers unless headers == SKIP @host = host unless host == SKIP end |