Class: Google::Apis::DomainsV1beta1::AuthorizationCode
- Inherits:
-
Object
- Object
- Google::Apis::DomainsV1beta1::AuthorizationCode
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/domains_v1beta1/classes.rb,
generated/google/apis/domains_v1beta1/representations.rb,
generated/google/apis/domains_v1beta1/representations.rb
Overview
Defines an authorization code.
Instance Attribute Summary collapse
-
#code ⇒ String
The Authorization Code in ASCII.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuthorizationCode
constructor
A new instance of AuthorizationCode.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AuthorizationCode
Returns a new instance of AuthorizationCode.
106 107 108 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 106 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
The Authorization Code in ASCII. It can be used to transfer the domain to or
from another registrar.
Corresponds to the JSON property code
104 105 106 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 104 def code @code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
111 112 113 |
# File 'generated/google/apis/domains_v1beta1/classes.rb', line 111 def update!(**args) @code = args[:code] if args.key?(:code) end |