Class: OsunyApi::Communication::Website::Page
- Inherits:
-
Resource
- Object
- Resource
- OsunyApi::Communication::Website::Page
show all
- Defined in:
- lib/osuny_api/communication/website/page.rb
Instance Attribute Summary
Attributes inherited from Resource
#client, #parent
Instance Method Summary
collapse
Methods inherited from Resource
#full_path, #initialize
Instance Method Details
#import(page) ⇒ Object
8
9
10
|
# File 'lib/osuny_api/communication/website/page.rb', line 8
def import(page)
client.post "#{full_path}import", { page: page }
end
|
#path ⇒ Object
4
5
6
|
# File 'lib/osuny_api/communication/website/page.rb', line 4
def path
'pages/'
end
|