class HyperDock::Resource::Core

Public Instance Methods

allowed_methods() click to toggle source
# File lib/hyperdock/resource/core.rb, line 12
def allowed_methods
  ['GET', 'HEAD']
end
attributes() click to toggle source
# File lib/hyperdock/resource/core.rb, line 27
def attributes
  {}
end
output() click to toggle source
# File lib/hyperdock/resource/core.rb, line 32
def output
  { _links: _links.merge(links) }.merge(attributes)
end