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.
422 423 424 425 426 427 |
# File 'lib/postproxy/types.rb', line 422 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.
420 421 422 |
# File 'lib/postproxy/types.rb', line 420 def next_step @next_step end |
#profile ⇒ Object
Returns the value of attribute profile.
420 421 422 |
# File 'lib/postproxy/types.rb', line 420 def profile @profile end |
#success ⇒ Object
Returns the value of attribute success.
420 421 422 |
# File 'lib/postproxy/types.rb', line 420 def success @success end |