Sha256: dd87a13cdd057adae1ea20ff3e03ad97e5d92676e85d3a4601e7b978bd67dfa9

Contents?: true

Size: 228 Bytes

Versions: 24

Compression:

Stored size: 228 Bytes

Contents

module JsonApiClient
  module Helpers
    module Serializable
      def as_json(options=nil)
        attributes
      end

      def read_attribute_for_serialization(name)
        read_attribute(name)
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
json_api_client-0.2.1 lib/json_api_client/helpers/serializable.rb
json_api_client-0.2.0 lib/json_api_client/helpers/serializable.rb
json_api_client-0.1.3 lib/json_api_client/helpers/serializable.rb
json_api_client-0.1.2 lib/json_api_client/helpers/serializable.rb