Sha256: e992af86cfd5e97148afb104f1ebcf745a68d4ddbde4c0d27a17eb06948ce208

Contents?: true

Size: 267 Bytes

Versions: 2

Compression:

Stored size: 267 Bytes

Contents

module Alba
  module Resources
    # Empty resource class, use this with `class_eval` for
    # inline associations and serializations.
    class DefaultResource
      include Alba::Resource

      def self.reset
        @_attributes = {}
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
alba-0.10.0 lib/alba/resources/default_resource.rb
alba-0.9.0 lib/alba/resources/default_resource.rb