Sha256: 09ea74bbb3702a2b65ca753108490c74453a207e0ff98db55432dce4166788de

Contents?: true

Size: 447 Bytes

Versions: 11

Compression:

Stored size: 447 Bytes

Contents

module Brief::RemoteSyncing
  extend ActiveSupport::Concern

  def publish_service
    case
    when briefcase && briefcase.uses_app?
      [briefcase.app, self.class.name.to_s.split('::').last, 'publisher'].join("_").camelize.constantize
    end
  end

  def sync_service
    case
    when briefcase && briefcase.uses_app?
      [briefcase.app, self.class.name.to_s.split('::').last, 'publisher'].join("_").camelize.constantize
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
brief-1.17.14 lib/brief/remote_syncing.rb
brief-1.17.13 lib/brief/remote_syncing.rb
brief-1.17.12 lib/brief/remote_syncing.rb
brief-1.17.11 lib/brief/remote_syncing.rb
brief-1.17.10 lib/brief/remote_syncing.rb
brief-1.17.9 lib/brief/remote_syncing.rb
brief-1.17.8 lib/brief/remote_syncing.rb
brief-1.17.7 lib/brief/remote_syncing.rb
brief-1.17.5 lib/brief/remote_syncing.rb
brief-1.17.4 lib/brief/remote_syncing.rb
brief-1.17.3 lib/brief/remote_syncing.rb