Sha256: dd4c6e8bc34924930c6de3081684160e5ee8948f6763bba901d1b3e8e1c250da

Contents?: true

Size: 487 Bytes

Versions: 7

Compression:

Stored size: 487 Bytes

Contents

# frozen_string_literal: true

module NotionOrbit
    class Orbit
        def self.call(type:, data:, orbit_workspace:, orbit_api_key:, notion_api_key:)
            if type == "note"
                NotionOrbit::Interactions::Note.new(
                    note: data[:note],
                    orbit_workspace: orbit_workspace,
                    orbit_api_key: orbit_api_key,
                    notion_api_key: notion_api_key
                )
            end
        end
    end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
notion_orbit-0.0.7 lib/notion_orbit/orbit.rb
notion_orbit-0.0.6 lib/notion_orbit/orbit.rb
notion_orbit-0.0.5 lib/notion_orbit/orbit.rb
notion_orbit-0.0.4 lib/notion_orbit/orbit.rb
notion_orbit-0.0.3 lib/notion_orbit/orbit.rb
notion_orbit-0.0.2 lib/notion_orbit/orbit.rb
notion_orbit-0.0.1 lib/notion_orbit/orbit.rb