Sha256: 2efd7b4af6780e043a22856e74a05303c0676cbcdc74c3c04582a9e79814e293

Contents?: true

Size: 575 Bytes

Versions: 3

Compression:

Stored size: 575 Bytes

Contents

# frozen_string_literal: true

module Calliope
  class ChannelMix
    # @return [Integer]
    attr_reader :left_to_left

    # @return [Integer]
    attr_reader :left_to_right

    # @return [Integer]
    attr_reader :right_to_left

    # @return [Integer]
    attr_reader :right_to_right

    # @!visibility private
    # @param payload [Hash]
    def initialize(payload)
      @left_to_left = payload["leftToLeft"]
      @left_to_right = payload["leftToRight"]
      @right_to_left = payload["rightToLeft"]
      @right_to_right = payload["rightToRight"]
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
calliope-link-1.0.2 lib/calliope/model/channel_mix.rb
calliope-link-1.0.1 lib/calliope/model/channel_mix.rb
calliope-link-1.0.0 lib/calliope/model/channel_mix.rb