Sha256: afe4f4837f216dd8b1a1ddcf9084d7cd4f2be1deec90f83ec7e1867baddf3baa
Contents?: true
Size: 478 Bytes
Versions: 4
Compression:
Stored size: 478 Bytes
Contents
# frozen_string_literal: true require 'lazy_lazer' module Redd module Models # A base model class. class Model include LazyLazer # @return [Client] the model's client attr_reader :client # Create a new Model. # @param client [Client] the model's client # @param attributes [Hash] the model's attributes def initialize(client, attributes = {}) super(attributes) @client = client end end end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
spinels-redd-0.9.0 | lib/redd/models/model.rb |
redd-0.9.0.pre.3 | lib/redd/models/model.rb |
redd-0.9.0.pre.2 | lib/redd/models/model.rb |
redd-0.9.0.pre.1 | lib/redd/models/model.rb |