Sha256: 8b93cddb8fd596e58200e8bf5a25697933718f566c3f85dd1139a0301c4ba7b6

Contents?: true

Size: 362 Bytes

Versions: 5

Compression:

Stored size: 362 Bytes

Contents

module BulutfonDashboard
  class ApiUser
    include ActiveModel::Validations
    include ActiveModel::Conversion
    extend ActiveModel::Naming

    cattr_accessor :user, :pbx, :credit

    def initialize(attributes = {})
      attributes.each do |name, value|
        send("#{name}=", value)
      end
    end

    def persisted?
      false
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bulutfon_dashboard-0.7.4 app/models/bulutfon_dashboard/api_user.rb
bulutfon_dashboard-0.7.3 app/models/bulutfon_dashboard/api_user.rb
bulutfon_dashboard-0.7.2 app/models/bulutfon_dashboard/api_user.rb
bulutfon_dashboard-0.7.1 app/models/bulutfon_dashboard/api_user.rb
bulutfon_dashboard-0.7.0 app/models/bulutfon_dashboard/api_user.rb