Created
October 21, 2014 00:20
-
-
Save coladarci/c68fa8f2defa84beda75 to your computer and use it in GitHub Desktop.
fIntegrations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def integration | |
# integrations are a thing of the past. | |
# instead of trying to find every occurrence, let's just put this in place. | |
OpenStruct.new({ | |
:integration_gid => self.id.to_s, | |
:integration_source => :peek_msg, | |
:last_sync => Time.now, | |
:name => self.name | |
}) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment