Sha256: 63e5ad2036b0d5df7e2aba12c9882fe5864d1f1558e84fb027375252cd815ae6
Contents?: true
Size: 633 Bytes
Versions: 14
Compression:
Stored size: 633 Bytes
Contents
# -*- coding : utf-8 -*- module Mushikago module Mitsubachi class Script attr_reader :client attr_reader :project_name attr_reader :script_name def initialize client, project_name, script_name @client = client @project_name = project_name @script_name = script_name end def body client.script_get(project_name, script_name, :with_body => true)['body'] end def run url, options={} client.http_fetch(project_name, url, script_name, options) end def to_s "#{project_name}:#{script_name}" end end end end
Version data entries
14 entries across 14 versions & 1 rubygems