Class: Velocity::Instance::Alert

Inherits:
APIModel
  • Object
show all
Defined in:
lib/acceleration/velocity.rb

Overview

Interacts with alerts registered on the instance

TODO: implement

Instance Attribute Summary

Attributes inherited from APIModel

#instance

Instance Method Summary collapse

Methods inherited from APIModel

#method_missing, #resolve, #respond_to_missing?

Constructor Details

#initializeAlert

Create a new wrapper for the Alerts interface.

Raises:

  • (NotImplementedError)


1241
1242
1243
# File 'lib/acceleration/velocity.rb', line 1241

def initialize
  raise NotImplementedError
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Velocity::Instance::APIModel

Instance Method Details

#prefixObject

The prefix for Alert is simply alert.



1234
1235
1236
# File 'lib/acceleration/velocity.rb', line 1234

def prefix
  'alert'
end