Class: Shared::Resource Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/vas/shared/resource.rb

Overview

This class is abstract.

The base of all types that interact with the REST API. A resource should map to a specific URI in the REST API

Instance Attribute Summary collapse

Instance Attribute Details

#locationObject (readonly)



24
25
26
# File 'lib/vas/shared/resource.rb', line 24

def location
  @location
end

#securitySecurity (readonly)

Returns the resource’s security.

Returns:

  • (Security)

    the resource’s security



27
28
29
# File 'lib/vas/shared/resource.rb', line 27

def security
  @security
end