Class: WorkOS::PortalLinkResponse
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- WorkOS::PortalLinkResponse
- Defined in:
- lib/workos/admin_portal/portal_link_response.rb
Constant Summary collapse
- HASH_ATTRS =
{ link: :link }.freeze
Instance Attribute Summary collapse
-
#link ⇒ Object
Returns the value of attribute link.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ PortalLinkResponse
constructor
A new instance of PortalLinkResponse.
Methods inherited from Types::BaseModel
Methods included from HashProvider
Constructor Details
#initialize(json) ⇒ PortalLinkResponse
Returns a new instance of PortalLinkResponse.
13 14 15 16 |
# File 'lib/workos/admin_portal/portal_link_response.rb', line 13 def initialize(json) hash = self.class.normalize(json) @link = hash[:link] end |
Instance Attribute Details
#link ⇒ Object
Returns the value of attribute link.
11 12 13 |
# File 'lib/workos/admin_portal/portal_link_response.rb', line 11 def link @link end |