module Interapp

Constants

EC_GROUP
VERSION

Attributes

configuration[RW]

Public Class Methods

configure() { |configuration| ... } click to toggle source
# File lib/interapp.rb, line 14
def self.configure
  self.configuration ||= Interapp::Configuration.new
  yield(configuration)
end
send_to(peer_identifier, data) click to toggle source
# File lib/interapp.rb, line 19
def self.send_to(peer_identifier, data)
  Interapp::SendMessageService.new(data: data, peer_identifier: peer_identifier).perform
end