Sha256: 8d6ff1be3631244d3200fba68935f9067003df7c04ff7c9e699f77e43d038f21

Contents?: true

Size: 340 Bytes

Versions: 47

Compression:

Stored size: 340 Bytes

Contents

module JsonApiClient
  module Linking
    class Links
      include Helpers::DynamicAttributes

      def initialize(links)
        self.attributes = links
      end

      def present?
        attributes.present?
      end

      protected

      def set_attribute(name, value)
        attributes[name] = value
      end

    end
  end
end

Version data entries

47 entries across 47 versions & 2 rubygems

Version Path
json_api_client-1.23.0 lib/json_api_client/linking/links.rb
json_api_client-1.22.0 lib/json_api_client/linking/links.rb
json_api_client-1.21.1 lib/json_api_client/linking/links.rb
json_api_client-1.21.0 lib/json_api_client/linking/links.rb
json_api_client-1.20.0 lib/json_api_client/linking/links.rb
json_api_client-1.19.0 lib/json_api_client/linking/links.rb
carwow-json_api_client-1.19.0 lib/json_api_client/linking/links.rb
json_api_client-1.18.0 lib/json_api_client/linking/links.rb
json_api_client-1.17.1 lib/json_api_client/linking/links.rb
json_api_client-1.17.0 lib/json_api_client/linking/links.rb
json_api_client-1.16.1 lib/json_api_client/linking/links.rb
json_api_client-1.16.0 lib/json_api_client/linking/links.rb
json_api_client-1.15.0 lib/json_api_client/linking/links.rb
json_api_client-1.14.1 lib/json_api_client/linking/links.rb
json_api_client-1.14.0 lib/json_api_client/linking/links.rb
json_api_client-1.13.0 lib/json_api_client/linking/links.rb
json_api_client-1.12.2 lib/json_api_client/linking/links.rb
json_api_client-1.12.1 lib/json_api_client/linking/links.rb
json_api_client-1.12.0 lib/json_api_client/linking/links.rb
json_api_client-1.11.0 lib/json_api_client/linking/links.rb