Module: X::Uploader
- Defined in:
- x-uploader/lib/x/uploader/version.rb,
x-uploader/lib/x/uploader/api.rb,
x-uploader/lib/x/uploader/gif.rb,
x-uploader/lib/x/uploader/error.rb,
x-uploader/lib/x/uploader/utils.rb,
x-uploader/lib/x/uploader/chunks.rb,
x-uploader/lib/x/uploader/source.rb,
x-uploader/lib/x/uploader/account.rb,
x-uploader/lib/x/uploader/metadata.rb,
x-uploader/lib/x/uploader/multipart.rb,
x-uploader/lib/x/uploader/signature.rb,
x-uploader/lib/x/uploader/validator.rb,
x-uploader/lib/x/uploader/json_classes.rb,
x-uploader/lib/x/uploader/media_upload.rb
Overview
Uploads media, profile images, and banners to the X API
Defined Under Namespace
Modules: API, Account, MediaUpload, Metadata Classes: Error
Constant Summary collapse
- VERSION =
The current version of the x-uploader gem
"1.0.0"
Class Method Summary collapse
-
.gem_version ⇒ Gem::Version
The version as a Gem::Version, which compares one release with another.
Class Method Details
.gem_version ⇒ Gem::Version
The version as a Gem::Version, which compares one release with another
VERSION is a String, as a version constant is throughout Ruby, so that what reads it can split it, match it, or send it wherever a String belongs. This builds the Gem::Version that compares it with another version, which a String compares by character rather than by segment.
22 |
# File 'x-uploader/lib/x/uploader/version.rb', line 22 def self.gem_version = Gem::Version.new(VERSION) |