Removed tests folder. Fixed formatting on Rulings_Classes.

This commit is contained in:
Nanda Scott 2018-02-05 21:25:11 -05:00
parent faceaeccf4
commit f8db7e8528
3 changed files with 6 additions and 8 deletions

View File

@ -13,6 +13,7 @@ Gets the ruling of a card by the Scryfall Id.
The same listed in the `rulings` documentation. The same listed in the `rulings` documentation.
Example usage: Example usage:
rule = scrython.rulings.Id(id='31412335-110c-449a-9c2f-bff8763a6504') rule = scrython.rulings.Id(id='31412335-110c-449a-9c2f-bff8763a6504')
## `rulings.Mtgo()` ## `rulings.Mtgo()`
@ -28,12 +29,14 @@ Gets the ruling of a card by the Mtgo Id.
The same listed in the `rulings` documentation. The same listed in the `rulings` documentation.
Example usage: Example usage:
rule = scrython.rulings.Mtgo(id="24811") rule = scrython.rulings.Mtgo(id="24811")
## `rulings.Multiverse()` ## `rulings.Multiverse()`
Gets the ruling of a card by the Multiverse Id. Gets the ruling of a card by the Multiverse Id.
**Parameters:** **Parameters:**
|Param|Required [y/n]|Input type|Description| |Param|Required [y/n]|Input type|Description|
|:---:|:---:|:---:|:---:| |:---:|:---:|:---:|:---:|
|id|Yes|String|The Multiverse Id of the card you want rulings for.| |id|Yes|String|The Multiverse Id of the card you want rulings for.|
@ -42,12 +45,14 @@ Gets the ruling of a card by the Multiverse Id.
The same listed in the `rulings` documentation. The same listed in the `rulings` documentation.
Example usage: Example usage:
rule = scrython.rulings.Multiverse(id="124451") rule = scrython.rulings.Multiverse(id="124451")
## `rulings.Code()` ## `rulings.Code()`
Gets the ruling of a card by the set code and collector number. Gets the ruling of a card by the set code and collector number.
**Parameters:** **Parameters:**
|Param|Required [y/n]|Input type|Description| |Param|Required [y/n]|Input type|Description|
|:---:|:---:|:---:|:---:| |:---:|:---:|:---:|:---:|
|code|Yes|String|The 3 letter set code of the card.| |code|Yes|String|The 3 letter set code of the card.|
@ -57,4 +62,5 @@ Gets the ruling of a card by the set code and collector number.
The same listed in the `rulings` documentation. The same listed in the `rulings` documentation.
Example usage: Example usage:
rule = scrython.rulings.Code(code='CSP', collector_number='142') rule = scrython.rulings.Code(code='CSP', collector_number='142')

View File

@ -1,7 +0,0 @@
import unittest
import cards
class TestObjectCreation(unittest.TestCase):
def testRandomCard(self):
pass

View File

@ -1 +0,0 @@
This is a garbage file for git to track this directory.