Class: Basecamp::Types::ClientSide Deprecated
- Inherits:
-
Object
- Object
- Basecamp::Types::ClientSide
- Includes:
- TypeHelpers
- Defined in:
- lib/basecamp/generated/types.rb
Overview
Deprecated.
This shape is deprecated since 2024-01: Use Client Visibility feature instead
ClientSide
Instance Attribute Summary collapse
-
#app_url ⇒ Object
Returns the value of attribute app_url.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ ClientSide
constructor
A new instance of ClientSide.
- #to_h ⇒ Object
- #to_json(*args) ⇒ Object
Constructor Details
#initialize(data = {}) ⇒ ClientSide
Returns a new instance of ClientSide.
1199 1200 1201 1202 |
# File 'lib/basecamp/generated/types.rb', line 1199 def initialize(data = {}) @app_url = data["app_url"] @url = data["url"] end |
Instance Attribute Details
#app_url ⇒ Object
Returns the value of attribute app_url.
1197 1198 1199 |
# File 'lib/basecamp/generated/types.rb', line 1197 def app_url @app_url end |
#url ⇒ Object
Returns the value of attribute url.
1197 1198 1199 |
# File 'lib/basecamp/generated/types.rb', line 1197 def url @url end |
Instance Method Details
#to_h ⇒ Object
1204 1205 1206 1207 1208 1209 |
# File 'lib/basecamp/generated/types.rb', line 1204 def to_h { "app_url" => @app_url, "url" => @url, }.compact end |
#to_json(*args) ⇒ Object
1211 1212 1213 |
# File 'lib/basecamp/generated/types.rb', line 1211 def to_json(*args) to_h.to_json(*args) end |