Class: Wes::Data::API::Video
- Inherits:
-
Object
- Object
- Wes::Data::API::Video
- Extended by:
- Base
- Defined in:
- lib/wes/data/api/video.rb
Class Method Summary collapse
Methods included from Base
add_state, client, configuration, map_objects, routes
Class Method Details
.create(options) ⇒ Object
11 12 13 14 |
# File 'lib/wes/data/api/video.rb', line 11 def create() attributes = client.post(routes.video, ).first attributes.nil? ? nil : model_klass.new(attributes) end |