Class: RHC::Rest::Mock::MockRestActivation
- Inherits:
-
Activation
- Object
- Base
- Activation
- RHC::Rest::Mock::MockRestActivation
- Defined in:
- lib/rhc/rest/mock.rb
Instance Method Summary collapse
-
#initialize(client, created_at) ⇒ MockRestActivation
constructor
A new instance of MockRestActivation.
Methods inherited from Activation
Methods inherited from Base
#add_message, #has_param?, #link_href, #links, #rest_method, #supports?
Methods included from AttributesClass
Methods included from Attributes
#attribute, #attributes, #attributes=, #clear_attribute
Constructor Details
#initialize(client, created_at) ⇒ MockRestActivation
Returns a new instance of MockRestActivation.
1110 1111 1112 1113 |
# File 'lib/rhc/rest/mock.rb', line 1110 def initialize(client, created_at) super({}, client) @created_at = created_at end |