class JsonApiClient::Linking::Links
Public Class Methods
new(links)
click to toggle source
# File lib/json_api_client/linking/links.rb, line 6 def initialize(links) self.attributes = links end
Public Instance Methods
present?()
click to toggle source
# File lib/json_api_client/linking/links.rb, line 10 def present? attributes.present? end
Protected Instance Methods
set_attribute(name, value)
click to toggle source
# File lib/json_api_client/linking/links.rb, line 16 def set_attribute(name, value) attributes[name] = value end