Class: Jpmobile::Mobile::SmartPhone
- Inherits:
-
AbstractMobile
- Object
- AbstractMobile
- Jpmobile::Mobile::SmartPhone
- Defined in:
- lib/jpmobile/mobile/smart_phone.rb
Direct Known Subclasses
Constant Summary
Constants inherited from AbstractMobile
AbstractMobile::MAIL_ADDRESS_REGEXP, AbstractMobile::MAIL_CHARSET, AbstractMobile::MAIL_CONTENT_TRANSFER_ENCODING, AbstractMobile::USER_AGENT_REGEXP
Instance Attribute Summary
Attributes inherited from AbstractMobile
Instance Method Summary collapse
-
#apply_filter? ⇒ Boolean
Jpmobile::Filter は適用しない.
-
#apply_params_filter? ⇒ Boolean
Jpmobile::ParamsFilter は適用しない.
-
#smart_phone? ⇒ Boolean
smartphone なので true.
-
#supports_cookie? ⇒ Boolean
cookie は有効と見なす.
-
#valid_ip? ⇒ Boolean
無効化.
Methods inherited from AbstractMobile
add_user_agent_regexp, carrier, check_carrier, #content_transfer_encoding, #decode_transfer_encoding, #decoratable?, #decorated?, #default_charset, #display, #ident, #ident_device, #ident_subscriber, #initialize, ip_address_class, #mail_charset, #mail_variants, #position, #require_related_part?, #tablet?, #to_external, #to_internal, #to_mail_body, #to_mail_body_encoded?, #to_mail_encoding, #to_mail_internal, #to_mail_subject, #to_mail_subject_encoded?, user_agent_regexp, #utf8_to_mail_encode, valid_ip?, #variants
Constructor Details
This class inherits a constructor from Jpmobile::Mobile::AbstractMobile
Instance Method Details
#apply_filter? ⇒ Boolean
Jpmobile::Filter は適用しない
21 22 23 |
# File 'lib/jpmobile/mobile/smart_phone.rb', line 21 def apply_filter? false end |
#apply_params_filter? ⇒ Boolean
Jpmobile::ParamsFilter は適用しない
26 27 28 |
# File 'lib/jpmobile/mobile/smart_phone.rb', line 26 def apply_params_filter? false end |
#smart_phone? ⇒ Boolean
smartphone なので true
16 17 18 |
# File 'lib/jpmobile/mobile/smart_phone.rb', line 16 def smart_phone? true end |
#supports_cookie? ⇒ Boolean
cookie は有効と見なす
11 12 13 |
# File 'lib/jpmobile/mobile/smart_phone.rb', line 11 def true end |
#valid_ip? ⇒ Boolean
無効化
6 7 8 |
# File 'lib/jpmobile/mobile/smart_phone.rb', line 6 def valid_ip? false end |