Sha256: 07d39f35f940fd7e47f56bce7fec26c1b1a1069488c66aa1d835643598d77900

Contents?: true

Size: 209 Bytes

Versions: 6

Compression:

Stored size: 209 Bytes

Contents

module JsonApiClient
  module Associations
    module HasOne
      class Association < BaseAssociation
        def from_result_set(result_set)
          result_set.first
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
json_api_client-1.9.0 lib/json_api_client/associations/has_one.rb
json_api_client-1.8.0 lib/json_api_client/associations/has_one.rb
json_api_client-1.7.0 lib/json_api_client/associations/has_one.rb
json_api_client-1.6.4 lib/json_api_client/associations/has_one.rb
json_api_client-1.6.3 lib/json_api_client/associations/has_one.rb
json_api_client-1.6.2 lib/json_api_client/associations/has_one.rb