Class: Xberg::ExtractInput
- Inherits:
-
Object
- Object
- Xberg::ExtractInput
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#bytes ⇒ String?
Returns the value of attribute bytes.
-
#config ⇒ FileExtractionConfig?
Returns the value of attribute config.
-
#filename ⇒ String?
Returns the value of attribute filename.
-
#kind ⇒ ExtractInputKind?
Returns the value of attribute kind.
-
#mime_type ⇒ String?
Returns the value of attribute mime_type.
-
#uri ⇒ String?
Returns the value of attribute uri.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ ExtractInput
constructor
A new instance of ExtractInput.
Constructor Details
#initialize ⇒ ExtractInput
Returns a new instance of ExtractInput.
164 |
# File 'sig/types.rbs', line 164
def initialize: (?kind: ExtractInputKind, ?bytes: String, ?uri: String, ?mime_type: String, ?filename: String, ?config: FileExtractionConfig) -> void
|
Instance Attribute Details
#bytes ⇒ String?
Returns the value of attribute bytes.
158 159 160 |
# File 'sig/types.rbs', line 158 def bytes @bytes end |
#config ⇒ FileExtractionConfig?
Returns the value of attribute config.
162 163 164 |
# File 'sig/types.rbs', line 162 def config @config end |
#filename ⇒ String?
Returns the value of attribute filename.
161 162 163 |
# File 'sig/types.rbs', line 161 def filename @filename end |
#kind ⇒ ExtractInputKind?
Returns the value of attribute kind.
157 158 159 |
# File 'sig/types.rbs', line 157 def kind @kind end |
#mime_type ⇒ String?
Returns the value of attribute mime_type.
160 161 162 |
# File 'sig/types.rbs', line 160 def mime_type @mime_type end |
#uri ⇒ String?
Returns the value of attribute uri.
159 160 161 |
# File 'sig/types.rbs', line 159 def uri @uri end |
Class Method Details
.from_bytes ⇒ ExtractInput
166 |
# File 'sig/types.rbs', line 166
def self.from_bytes: (String bytes, String mime_type, ?String filename) -> ExtractInput
|
.from_uri ⇒ ExtractInput
167 |
# File 'sig/types.rbs', line 167
def self.from_uri: (String uri) -> ExtractInput
|