Class: LinkedinV2::Templates::Payloads::UgcPost

Inherits:
Base
  • Object
show all
Defined in:
lib/linkedin_v2/templates/payloads/ugc_post.rb

Instance Method Summary collapse

Constructor Details

#initialize(**options) ⇒ UgcPost

Returns a new instance of UgcPost.



5
6
7
# File 'lib/linkedin_v2/templates/payloads/ugc_post.rb', line 5

def initialize(**options)
  super(options)
end

Instance Method Details

#to_jsonObject



9
10
11
# File 'lib/linkedin_v2/templates/payloads/ugc_post.rb', line 9

def to_json
  payload.to_json
end