lib/mtg_sdk/changelog.rb in mtg_sdk-3.2.0 vs lib/mtg_sdk/changelog.rb in mtg_sdk-3.2.1

- old
+ new

@@ -1,24 +1,24 @@ -require_relative 'representers/changelog_representer' - -module MTG - class Changelog - include Roar::JSON - include ChangelogRepresenter - - attr_accessor :version, :details, :release_date - - # Get the resource string - # - # @return [string] The API resource string - def self.Resource - "changelogs" - end - - # Get all changelogs - # - # @return [Array<Changelog>] Array of Changelog objects - def self.all - QueryBuilder.new(Changelog).all - end - end -end +require_relative 'representers/changelog_representer' + +module MTG + class Changelog + include Roar::JSON + include ChangelogRepresenter + + attr_accessor :version, :details, :release_date + + # Get the resource string + # + # @return [string] The API resource string + def self.Resource + "changelogs" + end + + # Get all changelogs + # + # @return [Array<Changelog>] Array of Changelog objects + def self.all + QueryBuilder.new(Changelog).all + end + end +end