This file contains hidden or 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
version: '3' | |
services: | |
seed-node: | |
image: cassandra | |
volumes: | |
- ./tmp/seed-node:/var/lib/cassandra | |
ports: | |
- "9042:9042" | |
- "7199:7199" | |
- "9160:9160" |
This file contains hidden or 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
# frozen_string_literal: true | |
module Payouts | |
module Operations | |
module Unlocker | |
class CalculateRewards | |
include Dry::Monads::Result::Mixin | |
include Dry::Monads::List::Mixin | |
include Dry::Monads::Do.for(:call) |
This file contains hidden or 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
# frozen_string_literal: true | |
module StatsApi | |
module Operations | |
module UpdateRealtimeStatsViews | |
class UpdateLastShareTimestamps < Operations::BaseOperation | |
include Dry::Monads::Try::Mixin | |
include Import[ | |
:application_config, |
This file contains hidden or 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
# frozen_string_literal: true | |
Dry::Validation.load_extensions(:monads) | |
module BaseTransaction | |
def self.included(base) | |
base.include Dry::Transaction | |
base.extend ClassMethods | |
end |
OlderNewer