Module: MuckFriends
- Defined in:
- lib/muck-friends/models/user.rb,
lib/muck-friends.rb,
lib/muck-friends/config.rb,
lib/muck-friends/engine.rb,
lib/muck-friends/models/friend.rb,
lib/muck-friends/mailers/friend_mailer.rb
Overview
include MuckFriends::Models::MuckFriend
Defined Under Namespace
Modules: Mailers, Models Classes: Configuration, Engine
Constant Summary collapse
- BLOCKED =
Statuses Array
2
- FRIENDING =
1
- FOLLOWING =
0
Class Method Summary collapse
Class Method Details
.configuration ⇒ Object
3 4 5 6 |
# File 'lib/muck-friends/config.rb', line 3 def self.configuration # In case the user doesn't setup a configure block we can always return default settings: @configuration ||= Configuration.new end |
.configure {|configuration| ... } ⇒ Object
8 9 10 11 |
# File 'lib/muck-friends/config.rb', line 8 def self.configure self.configuration ||= Configuration.new yield(configuration) end |