Sha256: dad4659c241e230a645f0c774e4d75ec6d0915aeb1cf9ae78eb1d732eee129f2

Contents?: true

Size: 537 Bytes

Versions: 40

Compression:

Stored size: 537 Bytes

Contents

# -*- coding: utf-8 -*-
# =スマートフォンの親クラス

module Jpmobile::Mobile
  class SmartPhone < AbstractMobile
    # 無効化
    def valid_ip?
      false
    end

    # cookie は有効と見なす
    def supports_cookie?
      true
    end

    # smartphone なので true
    def smart_phone?
      true
    end

    # Jpmobile::Rack::Filter は適用しない
    def apply_filter?
      false
    end

    # Jpmobile::Rack::ParamsFilter は適用しない
    def apply_params_filter?
      false
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
jpmobile-4.2.5 lib/jpmobile/mobile/smart_phone.rb
jpmobile-4.2.4 lib/jpmobile/mobile/smart_phone.rb
jpmobile-4.1.5 lib/jpmobile/mobile/smart_phone.rb
jpmobile-4.2.3 lib/jpmobile/mobile/smart_phone.rb
jpmobile-4.2.2 lib/jpmobile/mobile/smart_phone.rb
jpmobile-4.2.1 lib/jpmobile/mobile/smart_phone.rb
jpmobile-4.2.0 lib/jpmobile/mobile/smart_phone.rb
jpmobile-3.0.9 lib/jpmobile/mobile/smart_phone.rb
jpmobile-4.1.4 lib/jpmobile/mobile/smart_phone.rb
jpmobile-4.0.1 lib/jpmobile/mobile/smart_phone.rb
jpmobile-4.1.1 lib/jpmobile/mobile/smart_phone.rb
jpmobile-4.1.0 lib/jpmobile/mobile/smart_phone.rb
jpmobile-3.0.8 lib/jpmobile/mobile/smart_phone.rb
jpmobile-4.1.0.rc1 lib/jpmobile/mobile/smart_phone.rb
jpmobile-4.0.0 lib/jpmobile/mobile/smart_phone.rb
jpmobile-3.0.7 lib/jpmobile/mobile/smart_phone.rb
jpmobile-2.0.11 lib/jpmobile/mobile/smart_phone.rb
jpmobile-1.0.12 lib/jpmobile/mobile/smart_phone.rb
jpmobile-1.0.11 lib/jpmobile/mobile/smart_phone.rb
jpmobile-2.0.10 lib/jpmobile/mobile/smart_phone.rb