Class: VNCPostAPI::Base
- Inherits:
-
ActiveResource::Base
- Object
- ActiveResource::Base
- VNCPostAPI::Base
- Defined in:
- lib/vncpost_api/resources/base.rb
Instance Method Summary collapse
Instance Method Details
#build ⇒ Object
21 22 23 |
# File 'lib/vncpost_api/resources/base.rb', line 21 def build raise NotImplementedError, "#build is not supported" end |
#create ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/vncpost_api/resources/base.rb', line 8 def create connection.bearer_token = UserLogin.get_bearer_token format_before_send_request super rescue => e reset_attributes_format raise e end |
#update ⇒ Object
17 18 19 |
# File 'lib/vncpost_api/resources/base.rb', line 17 def update raise NotImplementedError, "#update is not supported" end |