White space in user file, deleting net/curl as unused
This commit is contained in:
parent
4922ebd84c
commit
ab6d631a27
3 changed files with 0 additions and 15 deletions
|
|
@ -10,7 +10,6 @@ class Retraction
|
|||
attr_accessor :person_id
|
||||
attr_accessor :type
|
||||
|
||||
|
||||
def self.for(object)
|
||||
retraction = self.new
|
||||
if object.is_a? User
|
||||
|
|
|
|||
|
|
@ -126,8 +126,6 @@ class User
|
|||
push_to_people(post, target_people)
|
||||
end
|
||||
|
||||
|
||||
|
||||
def push_to_people(post, people)
|
||||
people.each{|person|
|
||||
salmon(post, :to => person)
|
||||
|
|
@ -147,8 +145,6 @@ class User
|
|||
salmon
|
||||
end
|
||||
|
||||
|
||||
|
||||
######## Commenting ########
|
||||
def comment(text, options = {})
|
||||
comment = build_comment(text, options)
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
class Curl
|
||||
def self.post(s)
|
||||
`curl -X POST -d #{s}`;;
|
||||
end
|
||||
|
||||
def self.get(s)
|
||||
`curl -X GET #{s}`
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Reference in a new issue