Sha256: 34a8572412b484f3807311371405888ff7d7804104f124d12cbb681cc2a837be

Contents?: true

Size: 339 Bytes

Versions: 1

Compression:

Stored size: 339 Bytes

Contents

module Crowdblog
  class User
    attr_accessor :email
    attr_accessor :name
    attr_accessor :id

    def is_publisher?
      true
    end

    def self.primary_key
      "id"
    end

    def [](value)
      []
    end

    def destroyed?
      false
    end

    def new_record?
      true
    end

    def save(*)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
crowdblog-0.2.0 app/models/crowdblog/user.rb