Skip to content

Commit

Permalink
Merged master.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aquaj committed Jun 28, 2017
2 parents d8c3e5c + 4229989 commit cc2fd07
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/models/integration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,10 @@ def parameter_keys
def name
nature.to_s.camelize
end

class << self
def active?(name)
find_by_nature(name).present?
end
end
end

0 comments on commit cc2fd07

Please sign in to comment.