Class: OsunyApi::Communication::Website::Post
- Inherits:
-
Resource
- Object
- Resource
- OsunyApi::Communication::Website::Post
show all
- Defined in:
- lib/osuny_api/communication/website/post.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(post) ⇒ Object
8
9
10
|
# File 'lib/osuny_api/communication/website/post.rb', line 8
def import(post)
client.post "#{full_path}import", { post: post }
end
|
#path ⇒ Object
4
5
6
|
# File 'lib/osuny_api/communication/website/post.rb', line 4
def path
'posts/'
end
|