module NeonRAW::Objects::Thing::Createable

Methods for things that can be created.

Public Instance Methods

created() click to toggle source

Fetch when the thing was created. @!method created @return [Time] Returns a Time object containing the time/date.

# File lib/NeonRAW/objects/thing/createable.rb, line 9
def created
  Time.at(@created)
end
created_utc() click to toggle source

Fetch when the thing was created UTC. @!method created_utc @return [Time] Returns a Time object containing the time/date.

# File lib/NeonRAW/objects/thing/createable.rb, line 16
def created_utc
  Time.at(@created_utc)
end