class Embulk::Input::InputBigquery::LocalFile

support config by file path or content which supported by org.embulk.spi.unit.LocalFile keyfile:

content: |

Public Class Methods

load(v) click to toggle source
# File lib/embulk/input/bigquery.rb, line 14
def self.load(v)
  if v.is_a?(String)
    v
  elsif v.is_a?(Hash)
    JSON.parse(v['content'])
  end
end