warframe 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: ee6b935052cc4319690a1dbf0b86898e1d6bf0fc5d4d86c0f50df3124cbd6c7a
4
+ data.tar.gz: ea53ac1bf17b4a3786d06f760bdaec3002bc47ac2f3a1e4de628073c9737e551
5
+ SHA512:
6
+ metadata.gz: 775da85cd50ea2ce3710fc05ac5b4c5c1df5c5b87fd6bfbcb06dbed94630ba834f3ac9f1ec544b7a71b72f9aec5f92ec7ea67413e1724f088a10186054df3c94
7
+ data.tar.gz: fed568f336fdccb177c2462039dfdcf4c3334dfc34ae40fc2d5773d8cfb6c92a4e6631fa8c967ea8aa3cb2455952054fda539a0e339e2b928f1fab6e6b62ea54
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,5 @@
1
+ AllCops:
2
+ SuggestExtensions: false
3
+ NewCops: enable
4
+ TargetRubyVersion: 2.5
5
+ DisplayCopNames: false
data/.yardopts ADDED
@@ -0,0 +1,5 @@
1
+ --no-private
2
+ --protected
3
+ --markup markdown
4
+ -
5
+ README.md
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at ajiellodev@gmail.com. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile ADDED
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,103 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ warframe (0.1.0)
5
+ fast_underscore (~> 0.3.2)
6
+ http (~> 5.0, >= 5.0.4)
7
+ json (~> 2.6, >= 2.6.1)
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ activesupport (5.2.6)
13
+ concurrent-ruby (~> 1.0, >= 1.0.2)
14
+ i18n (>= 0.7, < 2)
15
+ minitest (~> 5.1)
16
+ tzinfo (~> 1.1)
17
+ addressable (2.8.0)
18
+ public_suffix (>= 2.0.2, < 5.0)
19
+ ast (2.4.2)
20
+ concurrent-ruby (1.1.9)
21
+ diff-lcs (1.4.4)
22
+ domain_name (0.5.20190701)
23
+ unf (>= 0.0.5, < 1.0.0)
24
+ fast_underscore (0.3.2)
25
+ ffi (1.15.4)
26
+ ffi (1.15.4-x64-mingw32)
27
+ ffi-compiler (1.0.1)
28
+ ffi (>= 1.0.0)
29
+ rake
30
+ http (5.0.4)
31
+ addressable (~> 2.8)
32
+ http-cookie (~> 1.0)
33
+ http-form_data (~> 2.2)
34
+ llhttp-ffi (~> 0.4.0)
35
+ http-cookie (1.0.4)
36
+ domain_name (~> 0.5)
37
+ http-form_data (2.3.0)
38
+ i18n (1.8.11)
39
+ concurrent-ruby (~> 1.0)
40
+ json (2.6.1)
41
+ llhttp-ffi (0.4.0)
42
+ ffi-compiler (~> 1.0)
43
+ rake (~> 13.0)
44
+ minitest (5.14.4)
45
+ parallel (1.21.0)
46
+ parser (3.0.2.0)
47
+ ast (~> 2.4.1)
48
+ public_suffix (4.0.6)
49
+ rainbow (3.0.0)
50
+ rake (13.0.6)
51
+ regexp_parser (2.1.1)
52
+ rexml (3.2.5)
53
+ rspec (3.10.0)
54
+ rspec-core (~> 3.10.0)
55
+ rspec-expectations (~> 3.10.0)
56
+ rspec-mocks (~> 3.10.0)
57
+ rspec-core (3.10.1)
58
+ rspec-support (~> 3.10.0)
59
+ rspec-expectations (3.10.1)
60
+ diff-lcs (>= 1.2.0, < 2.0)
61
+ rspec-support (~> 3.10.0)
62
+ rspec-mocks (3.10.2)
63
+ diff-lcs (>= 1.2.0, < 2.0)
64
+ rspec-support (~> 3.10.0)
65
+ rspec-support (3.10.3)
66
+ rubocop (1.22.3)
67
+ parallel (~> 1.10)
68
+ parser (>= 3.0.0.0)
69
+ rainbow (>= 2.2.2, < 4.0)
70
+ regexp_parser (>= 1.8, < 3.0)
71
+ rexml
72
+ rubocop-ast (>= 1.12.0, < 2.0)
73
+ ruby-progressbar (~> 1.7)
74
+ unicode-display_width (>= 1.4.0, < 3.0)
75
+ rubocop-ast (1.13.0)
76
+ parser (>= 3.0.1.1)
77
+ ruby-progressbar (1.11.0)
78
+ thread_safe (0.3.6)
79
+ tzinfo (1.2.9)
80
+ thread_safe (~> 0.1)
81
+ unf (0.1.4)
82
+ unf_ext
83
+ unf_ext (0.0.8)
84
+ unf_ext (0.0.8-x64-mingw32)
85
+ unicode-display_width (2.1.0)
86
+ yard (0.9.26)
87
+
88
+ PLATFORMS
89
+ x64-mingw32
90
+ x86_64-darwin-19
91
+ x86_64-linux
92
+
93
+ DEPENDENCIES
94
+ activesupport (~> 5.0, >= 5.0.0.1)
95
+ bundler (~> 2.1, >= 2.2.31)
96
+ rake (~> 13.0, >= 13.0.6)
97
+ rspec (~> 3.10)
98
+ rubocop (~> 1.22, >= 1.22.3)
99
+ warframe!
100
+ yard (~> 0.9.26)
101
+
102
+ BUNDLED WITH
103
+ 2.2.31
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 A.J. Romaniello
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,71 @@
1
+ # warframe-ruby
2
+ [![Ruby Gem Version](https://badgen.net/rubygems/v/warframe)](https://rubygems.org/gems/palindrome_ext)
3
+ [![Downloads](https://badgen.net/rubygems/dt/warframe)](https://rubygems.org/gems/palindrome_ext)
4
+ [![Ruby Style Guide](https://img.shields.io/badge/code_style-rubocop-brightgreen.svg)](https://github.com/rubocop/rubocop)
5
+ [![Platform](https://badgen.net/rubygems/p/warframe)](https://www.ruby-lang.org/en/)
6
+
7
+ A Ruby client for [Warframe Stat](https://warframestat.us) bringing you live modeled data from their API.
8
+
9
+ ## Installation
10
+
11
+ Add this line to your application's Gemfile:
12
+
13
+ ```ruby
14
+ gem 'warframe'
15
+ ```
16
+
17
+ And then execute:
18
+
19
+ $ bundle install
20
+
21
+ Or install it yourself as:
22
+
23
+ $ gem install warframe
24
+
25
+ ## Usage
26
+
27
+ To get started accessing live data, you must instantiate a new `Warframe::REST::Client`
28
+ ```ruby
29
+ require 'warframe'
30
+
31
+ client = Warframe::REST::Client.new # => <Warframe::REST::Client platform='pc' language='en'>
32
+
33
+ # You can supply a hash to set your preferred platform or language.
34
+ my_custom_options = { platform: 'ps4', language: 'de' }
35
+ german_ps4 = Warframe::REST:Client.new my_custom_options # => <Warframe::REST::Client platform='ps4' language='de'>
36
+ ```
37
+
38
+ This gives us access to a plethora of methods, check out the [documentation](https://rubydoc.info/gems/warframe) for more info.
39
+ ```ruby
40
+
41
+ client = Warframe::REST::Client.new
42
+ client.nightwave # => <Warframe::Models::Nightwave>
43
+ client.alerts # => [ <Warframe::Models::Alert>, <Warframe::Models::Alert> ]
44
+ ```
45
+
46
+ ## Documentation
47
+
48
+ Documentation is currently provided by [rubydoc.info](https://rubydoc.info), check out the current versions documentation at https://rubydoc.info/gems/warframe.
49
+
50
+ ## Development
51
+
52
+ ### Dependency Management
53
+ After checking out the repo, run `bundle install` to install required dependencies.
54
+
55
+ ### Testing
56
+ To check if your changes are passing tests, run `rake test`. Testing framework provided by [RSpec](https://rspec.info/).
57
+
58
+ ### Linting
59
+ To auto-correct styling offenses, run `rake lint`. All linting is provided by [RuboCop](https://github.com/rubocop/rubocop).
60
+
61
+ ## Contributing
62
+
63
+ Bug reports and pull requests are welcome on GitHub at https://github.com/aj-rom/warframe-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/warframe/blob/master/CODE_OF_CONDUCT.md).
64
+
65
+ ## License
66
+
67
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
68
+
69
+ ## Code of Conduct
70
+
71
+ Everyone interacting in the Warframe project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/warframe/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+ require 'rubocop/rake_task'
6
+
7
+ RSpec::Core::RakeTask.new(:test)
8
+ RuboCop::RakeTask.new(:lint) do |t|
9
+ t.options = %w[-A --extra-details]
10
+ end
11
+
12
+ task default: :spec
@@ -0,0 +1,36 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Warframe
4
+ # @abstract
5
+ # Wraps the {Warframe::REST::Client REST::Client} with necessary variables and methods.
6
+ #
7
+ # This class should < not be used > for interacting with the API.
8
+ class ClientWrapper
9
+ # The base Warframe Stat API link
10
+ BASE_URL = 'https://api.warframestat.us/'
11
+ # Default attributes
12
+ DEFAULT_OPTIONS = { platform: 'pc', language: 'en' }.freeze
13
+ attr_accessor :platform, :language
14
+
15
+ # Initialize the Wrapper for {Warframe::REST::Client REST::Client}
16
+ #
17
+ # @param options [Hash] merges with {DEFAULT_OPTIONS}
18
+ #
19
+ # See {Warframe::REST::Client REST::Client} for all accepted languages, platforms, and examples.
20
+ #
21
+ # This class is ABSTRACT and should not be instantiated outside of {Warframe::REST::Client REST::Client}.
22
+ # @return [Warframe::ClientWrapper]
23
+ def initialize(options = {})
24
+ DEFAULT_OPTIONS.merge(options).each { |k, v| instance_variable_set "@#{k}", v }
25
+
26
+ yield self if block_given?
27
+ end
28
+
29
+ # @return [String] the base url and platform combined.
30
+ def base_url
31
+ BASE_URL + platform
32
+ end
33
+
34
+ # might need to manipulate user_agent
35
+ end
36
+ end
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative './base'
4
+ require_relative './attributes/expiry'
5
+ require_relative './attributes/active'
6
+ require_relative './attributes/eta'
7
+ require_relative './attributes/reward_types'
8
+ require_relative './attributes/start_string'
9
+
10
+ module Warframe
11
+ module Models
12
+ # Model for World State data {https://api.warframestat.hub/pc/alerts /:platform/alerts}
13
+ class Alert < Warframe::Models::Base
14
+ include Warframe::Models::Attributes::Expired
15
+ include Warframe::Models::Attributes::Active
16
+ include Warframe::Models::Attributes::ETA
17
+ include Warframe::Models::Attributes::RewardTypes
18
+ include Warframe::Models::Attributes::StartString
19
+
20
+ # The id of the Alert.
21
+ # @return [String]
22
+ attr_reader :id
23
+
24
+ # The mission data of this alert.
25
+ # @return [OpenStruct]
26
+ attr_reader :mission
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Warframe
4
+ module Models
5
+ module Attributes
6
+ # Includes the active? attribute.
7
+ module Active
8
+ # Whether or not the event is active.
9
+ # @return [Boolean]
10
+ attr_reader :active
11
+ alias active? active
12
+ end
13
+
14
+ # Includes the activation date as an attribute.
15
+ module Activation
16
+ # The time the event was activated.
17
+ # @return [String]
18
+ attr_reader :activation
19
+ end
20
+
21
+ # For models that require both {Warframe::Models::Common::Active Common::Active}
22
+ # and {Warframe::Models::Common::Activation Common::Activation}
23
+ #
24
+ # Includes both the active? and activation methods.
25
+ module ActiveBoth
26
+ include Activation
27
+ include Active
28
+ end
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Warframe
4
+ module Models
5
+ module Attributes
6
+ # Includes the desc attribute.
7
+ module Description
8
+ # The description of the data requested.
9
+ # @return [String]
10
+ attr_reader :desc
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Warframe
4
+ module Models
5
+ module Attributes
6
+ # Adds the eta attribute.
7
+ module ETA
8
+ # The estimated time until arrival.
9
+ # @return [String]
10
+ attr_reader :eta
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,30 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Warframe
4
+ module Models
5
+ # Common Attributes between models.
6
+ module Attributes
7
+ # Includes the expiry attribute.
8
+ module Expiry
9
+ # When the event will expire.
10
+ # @return [String]
11
+ attr_reader :expiry
12
+ end
13
+
14
+ # Adds a boolean attribute expired? to see whether or not the even has expired.
15
+ module Expired
16
+ # Whether or not the event has expired.
17
+ # @return [Boolean]
18
+ attr_reader :expired
19
+ alias expired? expired
20
+ end
21
+
22
+ # Adds the {Warframe::Models::Attributes::Expiry Attributes::Expiry} &
23
+ # {Warframe::Models::Attributes::Expired Attributes::Expired} attributes.
24
+ module Expiration
25
+ include Expiry
26
+ include Expired
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Warframe
4
+ module Models
5
+ module Attributes
6
+ # Unique data response ID.
7
+ module ID
8
+ # The unique ID of the event.
9
+ # @return [String]
10
+ attr_reader :id
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Warframe
4
+ module Models
5
+ module Attributes
6
+ # The types of rewards you can get from this event.
7
+ module RewardTypes
8
+ # The types of rewards you can get from this event.
9
+ # @return [Array<String>]
10
+ attr_reader :reward_types
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Warframe
4
+ module Models
5
+ module Attributes
6
+ # Adds the start_string attribute, for when an event will begin.
7
+ module StartString
8
+ # When this event goes into effect.
9
+ # @return [String]
10
+ attr_reader :start_string
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Warframe
4
+ module Models
5
+ module Attributes
6
+ # Includes the translations attribute.
7
+ module Translations
8
+ # The message that can be translated.
9
+ # @return [String]
10
+ attr_reader :message
11
+
12
+ # Available translations for the requested data.
13
+ # @return [OpenStruct]
14
+ attr_reader :translations
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,36 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'fast_underscore'
4
+
5
+ module Warframe
6
+ # Models of HTTP responses.
7
+ module Models
8
+ # Warframe Base Model.
9
+ class Base
10
+ attr_reader :error, :code
11
+
12
+ # Creates a new [Warframe::Models::Base] instance.
13
+ # @param options [Hash, Array] a parsed JSON object, or collection of JSON objects.
14
+ def initialize(options = {})
15
+ if options.is_a? Array
16
+ from_array options
17
+ else
18
+ options.each do |k, v|
19
+ renamed = k.to_s.underscore
20
+ v = v.map { |obj| OpenStruct.new obj } if v.is_a?(Array) && v[0].is_a?(Hash)
21
+ v = OpenStruct.new v if v.is_a? Hash
22
+ instance_variable_set "@#{renamed}", v
23
+ end
24
+ end
25
+ end
26
+
27
+ private
28
+
29
+ # Constructs an Array of new [Warframe::Models::Base]'s'.
30
+ # @return [Array]
31
+ def from_array(arr)
32
+ arr.map { |obj| initialize obj }
33
+ end
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,40 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative './attributes/expiry'
4
+ require_relative './attributes/description'
5
+ require_relative './attributes/eta'
6
+
7
+ module Warframe
8
+ module Models
9
+ # Global Upgrades data model.
10
+ class GlobalUpgrade < Warframe::Models::Base
11
+ include Warframe::Models::Attributes::Expired
12
+ include Warframe::Models::Attributes::Description
13
+ include Warframe::Models::Attributes::ETA
14
+
15
+ # The start of the global upgrade.
16
+ # @return [String]
17
+ attr_reader :start
18
+
19
+ # The end of the global upgrade.
20
+ # @return [String]
21
+ attr_reader :end
22
+
23
+ # The upgrade to be received.
24
+ # @return [String]
25
+ attr_reader :upgrade
26
+
27
+ # The operation of the global upgrade.
28
+ # @return [String]
29
+ attr_reader :operation
30
+
31
+ # The symbol of the operation.
32
+ # @return [String]
33
+ attr_reader :operation_symbol
34
+
35
+ # The upgrade operation value.
36
+ # @return [Integer]
37
+ attr_reader :upgrade_operation_value
38
+ end
39
+ end
40
+ end