Class: PostProxy::BlueskyConnectionResponse

Inherits:
Model
  • Object
show all
Defined in:
lib/postproxy/types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Model

#to_h

Constructor Details

#initialize(**attrs) ⇒ BlueskyConnectionResponse

Returns a new instance of BlueskyConnectionResponse.



412
413
414
415
416
# File 'lib/postproxy/types.rb', line 412

def initialize(**attrs)
  @profile = nil
  super
  @profile = SyncProfile.new(**@profile.transform_keys(&:to_sym)) if @profile.is_a?(Hash)
end

Instance Attribute Details

#profileObject

Returns the value of attribute profile.



410
411
412
# File 'lib/postproxy/types.rb', line 410

def profile
  @profile
end

#successObject

Returns the value of attribute success.



410
411
412
# File 'lib/postproxy/types.rb', line 410

def success
  @success
end