Class: Rack::Ketai::Carrier::Mobile

Inherits:
Abstract
  • Object
show all
Defined in:
lib/rack/ketai/carrier/mobile.rb

Direct Known Subclasses

Au, Docomo, Softbank

Constant Summary

Constants inherited from Abstract

Abstract::USER_AGENT_REGEXP

Instance Method Summary collapse

Methods inherited from Abstract

#cache_size, #deviceid, #display, #filtering, filters, #filters, #ident, #initialize, #name, #position, #request, #smartphone?, #subscriberid, #supports_cookie?, #tablet?, valid_addr?, #valid_addr?, valid_ip?

Constructor Details

This class inherits a constructor from Rack::Ketai::Carrier::Abstract

Instance Method Details

#featurephone?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/rack/ketai/carrier/mobile.rb', line 12

def featurephone?
  true
end

#mobile?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/rack/ketai/carrier/mobile.rb', line 8

def mobile?
  true
end