Class: IpwhoApi::UserAgentCPU
- Inherits:
-
Struct
- Object
- Struct
- IpwhoApi::UserAgentCPU
- Defined in:
- lib/ipwho.rb
Instance Attribute Summary collapse
-
#architecture ⇒ Object
Returns the value of attribute architecture.
Class Method Summary collapse
Instance Attribute Details
#architecture ⇒ Object
Returns the value of attribute architecture
148 149 150 |
# File 'lib/ipwho.rb', line 148 def architecture @architecture end |
Class Method Details
.from_hash(hash) ⇒ Object
149 150 151 |
# File 'lib/ipwho.rb', line 149 def self.from_hash(hash) new(architecture: hash["architecture"]) end |