class ShafClient::UnknownResource
Attributes
body[R]
headers[R]
http_status[R]
Public Class Methods
new(_client, payload, status = nil, headers = {})
click to toggle source
# File lib/shaf_client/unknown_resource.rb, line 9 def initialize(_client, payload, status = nil, headers = {}) @body = payload.freeze @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/unknown_resource.rb, line 19 def to_h {} end