Class: LinkedinV2::Templates::Payloads::Base

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

Direct Known Subclasses

Shares, UgcPost

Instance Method Summary collapse

Constructor Details

#initialize(**options) ⇒ Base

Returns a new instance of Base.



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

def initialize(**options)
  @options = options
end

Instance Method Details

#to_jsonObject

Raises:

  • (NotImplementedError)


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

def to_json
  raise NotImplementedError
end