Class: Twilio::REST::Insights::V2::ReportList::StirShakenAnswerRate
- Inherits:
-
Object
- Object
- Twilio::REST::Insights::V2::ReportList::StirShakenAnswerRate
- Defined in:
- lib/twilio-ruby/rest/insights/v2/report.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(payload) ⇒ StirShakenAnswerRate
constructor
A new instance of StirShakenAnswerRate.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(payload) ⇒ StirShakenAnswerRate
Returns a new instance of StirShakenAnswerRate.
364 365 366 367 368 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 364 def initialize(payload) @stsh_a = payload["stsh_a"] @stsh_b = payload["stsh_b"] @stsh_c = payload["stsh_c"] end |
Instance Attribute Details
#stsh_a ⇒ Object
363 364 365 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 363 def stsh_a @stsh_a end |
#stsh_b ⇒ Object
363 364 365 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 363 def stsh_b @stsh_b end |
#stsh_c ⇒ Object
363 364 365 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 363 def stsh_c @stsh_c end |
Instance Method Details
#to_json(options = {}) ⇒ Object
369 370 371 372 373 374 375 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 369 def to_json( = {}) { "stsh_a": @stsh_a, "stsh_b": @stsh_b, "stsh_c": @stsh_c, }.to_json() end |