Sha256: e76c60515b7d712acc01e5fccd26d8ab0ec0da0eea527802178f1716b433704c

Contents?: true

Size: 229 Bytes

Versions: 2

Compression:

Stored size: 229 Bytes

Contents

module UserApp
  # Message builder
  module MessageBuilder
    def self.build(subscribed)
      {
        'first_name' => 'William',
        'last_name'  => 'Taylor',
        'subscribed' => subscribed,
      }
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pact-messages-0.1.1 example/user-app/lib/user_app/message_builder.rb
pact-messages-0.1.0 example/user-app/lib/user_app/message_builder.rb