Class: Google::Apis::DomainsV1alpha2::AuthorizationCode
- Inherits:
-
Object
- Object
- Google::Apis::DomainsV1alpha2::AuthorizationCode
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/domains_v1alpha2/classes.rb,
lib/google/apis/domains_v1alpha2/representations.rb,
lib/google/apis/domains_v1alpha2/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 'lib/google/apis/domains_v1alpha2/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 'lib/google/apis/domains_v1alpha2/classes.rb', line 104 def code @code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
111 112 113 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 111 def update!(**args) @code = args[:code] if args.key?(:code) end |