Module: X::Uploads
- Defined in:
- x-uploads/lib/x/uploads/version.rb,
x-uploads/lib/x/uploads/api.rb,
x-uploads/lib/x/uploads/gif.rb,
x-uploads/lib/x/uploads/error.rb,
x-uploads/lib/x/uploads/utils.rb,
x-uploads/lib/x/uploads/chunks.rb,
x-uploads/lib/x/uploads/source.rb,
x-uploads/lib/x/uploads/account.rb,
x-uploads/lib/x/uploads/metadata.rb,
x-uploads/lib/x/uploads/multipart.rb,
x-uploads/lib/x/uploads/signature.rb,
x-uploads/lib/x/uploads/validator.rb,
x-uploads/lib/x/uploads/json_classes.rb,
x-uploads/lib/x/uploads/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-uploads 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-uploads/lib/x/uploads/version.rb', line 22 def self.gem_version = Gem::Version.new(VERSION) |