Class: PostProxy::TelegramConnectionResponse
- Defined in:
- lib/postproxy/types.rb
Instance Attribute Summary collapse
-
#next_step ⇒ Object
Returns the value of attribute next_step.
-
#profile ⇒ Object
Returns the value of attribute profile.
-
#success ⇒ Object
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize(**attrs) ⇒ TelegramConnectionResponse
constructor
A new instance of TelegramConnectionResponse.
Methods inherited from Model
Constructor Details
#initialize(**attrs) ⇒ TelegramConnectionResponse
Returns a new instance of TelegramConnectionResponse.
535 536 537 538 539 540 |
# File 'lib/postproxy/types.rb', line 535 def initialize(**attrs) @profile = nil @next_step = nil super @profile = SyncProfile.new(**@profile.transform_keys(&:to_sym)) if @profile.is_a?(Hash) end |
Instance Attribute Details
#next_step ⇒ Object
Returns the value of attribute next_step.
533 534 535 |
# File 'lib/postproxy/types.rb', line 533 def next_step @next_step end |
#profile ⇒ Object
Returns the value of attribute profile.
533 534 535 |
# File 'lib/postproxy/types.rb', line 533 def profile @profile end |
#success ⇒ Object
Returns the value of attribute success.
533 534 535 |
# File 'lib/postproxy/types.rb', line 533 def success @success end |