class ShafClient::EmptyResource
Attributes
headers[R]
http_status[R]
Public Class Methods
new(_client, _payload, status = nil, headers = {})
click to toggle source
# File lib/shaf_client/empty_resource.rb, line 9 def initialize(_client, _payload, status = nil, headers = {}) @http_status = status @headers = headers @attributes = {}.freeze @links = {}.freeze @curies = {}.freeze @embedded_resources = {}.freeze end
Public Instance Methods
to_h()
click to toggle source
# File lib/shaf_client/empty_resource.rb, line 18 def to_h {} end