Skip to content

Commit

Permalink
Resolves #3 - 'names' is null
Browse files Browse the repository at this point in the history
  • Loading branch information
adback03 committed Apr 19, 2016
1 parent ba79081 commit b1cf815
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/mtg_sdk/representers/card_representer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module CardRepresenter
property :hand
property :life
property :reserved
property :release_date, as: :release_date, type: Date
property :release_date, as: :releaseDate, type: Date
property :starter
property :original_text, as: :originalText
property :original_type, as: :originalType
Expand All @@ -41,6 +41,7 @@ module CardRepresenter
property :id
property :image_url, as: :imageUrl

collection :names
collection :supertypes
collection :subtypes
collection :types
Expand Down
2 changes: 1 addition & 1 deletion lib/mtg_sdk/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module MTG
VERSION = "2.0.0"
VERSION = "2.0.1"
end

0 comments on commit b1cf815

Please sign in to comment.