lib/octopolo/github.rb in octopolo-0.3.6 vs lib/octopolo/github.rb in octopolo-0.4.0
- old
+ new
@@ -69,10 +69,18 @@
def self.create_pull_request *args
client.create_pull_request *args
end
+ def self.issue *args
+ client.issue *args
+ end
+
+ def self.create_issue *args
+ client.create_issue *args
+ end
+
def self.add_comment *args
client.add_comment *args
end
def self.user username
@@ -99,13 +107,12 @@
def self.remove_label *args
client.remove_label *args
end
- def self.add_labels_to_pull *args
+ def self.add_labels_to_issue *args
client.add_labels_to_an_issue *args
end
-
# now that you've set up your credentials, try again
TryAgain = Class.new(StandardError)
# the credentials you've entered are bad