Sha256: 00e6ef26695b3d9a6fcdcdcb3e5e77238532fe500d783c84680a458c735cca40

Contents?: true

Size: 613 Bytes

Versions: 4

Compression:

Stored size: 613 Bytes

Contents

# -*- coding: utf-8 -*-

module Dcmgr::Models
  class RequestLog < BaseNew

    inheritable_schema do
      String :request_id, :null=>false, :size=>40, :unique=>true
      Fixnum :frontend_system_id, :null=>false
      Fixnum :account_id, :null=>false
      String :requester_symbol, :null=>false, :size=>100
      # HTTP Response Code
      Fixnum :response_status, :null=>false
      String :response_msg
      String :api_path, :null=>false
      String :params, :null=>false
      Time :requested_at
      Time :responsed_at
    end

    def after_initialize
      self[:request_id] #
    end
    
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
wakame-vdc-dcmgr-10.12.0 lib/dcmgr/models/request_log.rb
wakame-vdc-agents-10.12.0 lib/dcmgr/models/request_log.rb
wakame-vdc-dcmgr-10.11.0 lib/dcmgr/models/request_log.rb
wakame-vdc-agents-10.11.0 lib/dcmgr/models/request_log.rb