Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
crystal-xkcd-grabber
master
Xkcd_Client
Built with Crystal 1.9.2
2023-10-07 16:47:51 UTC
class
Xkcd_Client
Xkcd_Client
Reference
Object
Defined in:
xkcd_client.cr
Constant Summary
LATEST_COMIC
=
-1
Constructors
.new
(comic_number : Int32 =
LATEST_COMIC
)
Instance Method Summary
#alt
: JSON::Any
#date
: String
#safe_title
: JSON::Any
#saveToDisk
Constructor Detail
def self.
new
(comic_number : Int32 =
LATEST_COMIC
)
#
[
View source
]
Instance Method Detail
def
alt
: JSON::Any
#
[
View source
]
def
date
: String
#
[
View source
]
def
safe_title
: JSON::Any
#
[
View source
]
def
saveToDisk
#
[
View source
]