Sha256: a6d7ecad1980c86748920d579870d86e307a50661cb6e18d24ad54979ec57504
Contents?: true
Size: 391 Bytes
Versions: 7
Compression:
Stored size: 391 Bytes
Contents
# frozen_string_literal: true module Alpaca module Trade module Api class Clock attr_reader :timestamp, :is_open, :next_open, :next_close def initialize(json) @timestamp = json['timestamp'] @is_open = json['is_open'] @next_open = json['next_open'] @next_close = json['next_close'] end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems