Class: Jpzip::Endpoints
- Inherits:
-
Data
- Object
- Data
- Jpzip::Endpoints
- Defined in:
- lib/jpzip/types.rb
Overview
Endpoints is part of /meta.json.
Instance Attribute Summary collapse
-
#group ⇒ Object
readonly
Returns the value of attribute group.
-
#prefix ⇒ Object
readonly
Returns the value of attribute prefix.
Class Method Summary collapse
Instance Attribute Details
#group ⇒ Object (readonly)
Returns the value of attribute group
54 55 56 |
# File 'lib/jpzip/types.rb', line 54 def group @group end |
#prefix ⇒ Object (readonly)
Returns the value of attribute prefix
54 55 56 |
# File 'lib/jpzip/types.rb', line 54 def prefix @prefix end |
Class Method Details
.from_hash(h) ⇒ Object
55 56 57 |
# File 'lib/jpzip/types.rb', line 55 def self.from_hash(h) new(group: h["group"] || "", prefix: h["prefix"] || "") end |