class TimeOffParser
Public Instance Methods
event()
click to toggle source
# File lib/bob/parsers/time_off_parser.rb, line 4 def event Models::TimeOff.new(json_response) end
events()
click to toggle source
# File lib/bob/parsers/time_off_parser.rb, line 8 def events json_response['outs'].map { |attributes| Models::TimeOff.new(attributes) } end