Class: EPIC::Profile
Direct Known Subclasses
Defined Under Namespace
Classes: UUID
Constant Summary
Constant Summary
Constants inherited from Resource
Resource::GLOBAL_LOCK_HASH, Resource::GLOBAL_LOCK_MUTEX
Instance Attribute Summary (collapse)
- - (String) description readonly
Attributes included from Rackful::Resource
#get_etag, #get_last_modified, #path
Class Method Summary (collapse)
- + (Hash{ String(name) => Profile }) [](name) private
- + (void) inherited(klass)
- + (Hash{ String(prefix) => Hash{ String(name) => Profile } }) profiles private
Instance Method Summary (collapse)
Methods inherited from Resource
#initialize, #lock, lock, #unlock, #xhtml
Methods included from Rackful::Resource
#default_headers, #destroy, #do_METHOD, #empty?, #http_DELETE, #http_GET, #http_HEAD, #http_OPTIONS, #http_PUT, #http_method, #http_methods, included, #requested?, #serializer, #title, #to_struct
Constructor Details
This class inherits a constructor from EPIC::Resource
Instance Attribute Details
- (String) description (readonly)
46 47 48 |
# File 'src/epic_profile.rb', line 46 def description @description end |
Class Method Details
+ (Hash{ String(name) => Profile }) [](name)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
35 36 37 |
# File 'src/epic_profile.rb', line 35 def Profile.[] name profiles[name.to_s.downcase] end |
+ (void) inherited(klass)
40 41 42 |
# File 'src/epic_profile.rb', line 40 def Profile.inherited klass profiles[klass.name.split('::').last.downcase] = klass end |
Instance Method Details
- (void) to_rackful
49 50 51 |
# File 'src/epic_profile.rb', line 49 def to_rackful description end |
- (void) validate(request)
|
# File 'src/epic_profile.rb', line 54
|