Methods
Public Class
Public Instance
Attributes
actor | [R] | |
object | [R] | |
object_type | [R] | |
raw | [R] | |
target | [R] | |
timestamp_ms | [R] | |
verb | [R] | |
withheld_in_countries | [R] |
Public Class methods
new
(params = {})
[show source]
# File lib/gnip_api/gnip/twitter_compliance_message.rb, line 5 def initialize params = {} @raw = params @object_type = params['objectType'] @actor = params['actor'] @verb = params['verb'] @timestamp_ms = params['timestampMs'] @object = params['object'] end
Public Instance methods
to_h
()
[show source]
# File lib/gnip_api/gnip/twitter_compliance_message.rb, line 14 def to_h @raw end
to_json
()
[show source]
# File lib/gnip_api/gnip/twitter_compliance_message.rb, line 22 def to_json @raw.to_json end