Class: WorkOS::DataIntegrationAuthorizeUrlResponse

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/workos/pipes/data_integration_authorize_url_response.rb

Constant Summary collapse

HASH_ATTRS =
{
  url: :url
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ DataIntegrationAuthorizeUrlResponse

Returns a new instance of DataIntegrationAuthorizeUrlResponse.



13
14
15
16
# File 'lib/workos/pipes/data_integration_authorize_url_response.rb', line 13

def initialize(json)
  hash = self.class.normalize(json)
  @url = hash[:url]
end

Instance Attribute Details

#urlObject

Returns the value of attribute url.



11
12
13
# File 'lib/workos/pipes/data_integration_authorize_url_response.rb', line 11

def url
  @url
end