Class: PostProxy::BlueskyConnectionResponse
- Defined in:
- lib/postproxy/types.rb
Instance Attribute Summary collapse
-
#profile ⇒ Object
Returns the value of attribute profile.
-
#success ⇒ Object
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize(**attrs) ⇒ BlueskyConnectionResponse
constructor
A new instance of BlueskyConnectionResponse.
Methods inherited from Model
Constructor Details
#initialize(**attrs) ⇒ BlueskyConnectionResponse
Returns a new instance of BlueskyConnectionResponse.
623 624 625 626 627 |
# File 'lib/postproxy/types.rb', line 623 def initialize(**attrs) @profile = nil super @profile = SyncProfile.new(**@profile.transform_keys(&:to_sym)) if @profile.is_a?(Hash) end |
Instance Attribute Details
#profile ⇒ Object
Returns the value of attribute profile.
621 622 623 |
# File 'lib/postproxy/types.rb', line 621 def profile @profile end |
#success ⇒ Object
Returns the value of attribute success.
621 622 623 |
# File 'lib/postproxy/types.rb', line 621 def success @success end |