Class: Posthubify::EngagementResource

Inherits:
Object
  • Object
show all
Defined in:
lib/posthubify/resources/platform.rb

Overview

Platform engagements (Node sdk .engagement). Sub-resource: x.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(http) ⇒ EngagementResource

Returns a new instance of EngagementResource.



183
184
185
186
# File 'lib/posthubify/resources/platform.rb', line 183

def initialize(http)
  @http = http
  @x = XEngagementResource.new(http)
end

Instance Attribute Details

#xObject (readonly)

Returns the value of attribute x.



181
182
183
# File 'lib/posthubify/resources/platform.rb', line 181

def x
  @x
end