class MtgDbClient::Format

Attributes

legality[RW]
name[RW]

Public Class Methods

new(response) click to toggle source
# File lib/MtgDbClient/format.rb, line 5
def initialize(response)
        self.name = response["name"]
        self.legality = response["legality"]
end