Class: TrueConf::Entity::DateTime
- Extended by:
- Callable
- Defined in:
- lib/true-conf/entity/date_time.rb
Instance Method Summary collapse
Methods included from Callable
Methods inherited from Response
build, #error?, new, #success?
Instance Method Details
#as_time ⇒ Object
12 13 14 |
# File 'lib/true-conf/entity/date_time.rb', line 12 def as_time Time.parse(date) end |