Class: Google::Apis::GamesV1::EndPoint
- Inherits:
-
Object
- Object
- Google::Apis::GamesV1::EndPoint
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/games_v1/classes.rb,
lib/google/apis/games_v1/representations.rb,
lib/google/apis/games_v1/representations.rb
Overview
Container for a URL end point of the requested type.
Instance Attribute Summary collapse
-
#url ⇒ String
A URL suitable for loading in a web browser for the requested endpoint.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EndPoint
constructor
A new instance of EndPoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EndPoint
Returns a new instance of EndPoint.
681 682 683 |
# File 'lib/google/apis/games_v1/classes.rb', line 681 def initialize(**args) update!(**args) end |
Instance Attribute Details
#url ⇒ String
A URL suitable for loading in a web browser for the requested endpoint.
Corresponds to the JSON property url
679 680 681 |
# File 'lib/google/apis/games_v1/classes.rb', line 679 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
686 687 688 |
# File 'lib/google/apis/games_v1/classes.rb', line 686 def update!(**args) @url = args[:url] if args.key?(:url) end |