Sha256: 30d08b5eb57a8db93fe95c44c48b9dfc406aff8f2b03d148ff7b8857f0252b96

Contents?: true

Size: 279 Bytes

Versions: 2

Compression:

Stored size: 279 Bytes

Contents

class Minered::Issue
  
  def initialize(host, key, project_id, subject)
    response = Typhoeus.post(
      "http://#{@host}/issues.xml?key=#{@key}",
      body: {
        issue: {
          project_id: project_id,
          subject: subject
        }
      }
    )
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
minered-0.0.4 lib/minered/issue.rb
minered-0.0.3 lib/minered/issue.rb