Class: MTG::Changelog
- Inherits:
-
Object
- Object
- MTG::Changelog
- Includes:
- ChangelogRepresenter, Roar::JSON
- Defined in:
- lib/mtg_sdk/changelog.rb
Instance Attribute Summary collapse
-
#details ⇒ Object
Returns the value of attribute details.
-
#release_date ⇒ Object
Returns the value of attribute release_date.
-
#version ⇒ Object
Returns the value of attribute version.
Class Method Summary collapse
-
.all ⇒ Array<Changelog>
Get all changelogs.
-
.Resource ⇒ string
Get the resource string.
Instance Attribute Details
#details ⇒ Object
Returns the value of attribute details.
8 9 10 |
# File 'lib/mtg_sdk/changelog.rb', line 8 def details @details end |
#release_date ⇒ Object
Returns the value of attribute release_date.
8 9 10 |
# File 'lib/mtg_sdk/changelog.rb', line 8 def release_date @release_date end |
#version ⇒ Object
Returns the value of attribute version.
8 9 10 |
# File 'lib/mtg_sdk/changelog.rb', line 8 def version @version end |
Class Method Details
.all ⇒ Array<Changelog>
Get all changelogs
20 21 22 |
# File 'lib/mtg_sdk/changelog.rb', line 20 def self.all QueryBuilder.new(Changelog).all end |
.Resource ⇒ string
Get the resource string
13 14 15 |
# File 'lib/mtg_sdk/changelog.rb', line 13 def self.Resource "changelogs" end |