class Oshpark::Panel

Constants

STATES

Public Class Methods

attrs() click to toggle source
# File lib/oshpark/panel.rb, line 5
def self.attrs
  %w| pcb_layers scheduled_order_time expected_receive_time
      id ordered_at received_at state service total_orders
      total_boards board_area_in_square_mils |
end

Public Instance Methods

expected_receive_time() click to toggle source
# File lib/oshpark/panel.rb, line 19
def expected_receive_time
  time_from @expected_receive_time if @expected_receive_time
end
ordered_at() click to toggle source
# File lib/oshpark/panel.rb, line 23
def ordered_at
  time_from @ordered_at if @ordered_at
end
received_at() click to toggle source
# File lib/oshpark/panel.rb, line 27
def received_at
  time_from @received_at if @received_at
end
scheduled_order_time() click to toggle source
# File lib/oshpark/panel.rb, line 15
def scheduled_order_time
  time_from @scheduled_order_time if @scheduled_order_time
end