Class: CoinMarketCap::Resources::Resource

Inherits:
Hashie::Trash
  • Object
show all
Includes:
Hashie::Extensions::IgnoreUndeclared
Defined in:
lib/coinmarketcap/resources/resource.rb

Direct Known Subclasses

Cryptocurrency, Listing, Metadata, Platform, Quote, URL

Class Method Summary collapse

Class Method Details

.iso8601_date(timestamp) ⇒ Object



8
9
10
# File 'lib/coinmarketcap/resources/resource.rb', line 8

def self.iso8601_date(timestamp)
  Date.iso8601(timestamp)
end