Class: CircleSo::Resources::Embeds

Inherits:
Base
  • Object
show all
Defined in:
lib/circle_so/resources/embeds.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from CircleSo::Resources::Base

Instance Method Details

#create(**attrs) ⇒ Object



6
# File 'lib/circle_so/resources/embeds.rb', line 6

def create(**attrs) = client.post("/embeds", attrs)

#show(sgid) ⇒ Object



7
# File 'lib/circle_so/resources/embeds.rb', line 7

def show(sgid) = client.get("/embeds/#{sgid}")