Sha256: f66614dca4fa71ec032bfc73ff616d4a9828bb7d324b8f2e4086baf1a670c3d7

Contents?: true

Size: 302 Bytes

Versions: 1

Compression:

Stored size: 302 Bytes

Contents

module Pairzone
  module Api
    class User < Base
      property :email
      property :username
      property :authentication_token

      connect :current_user, :get => '/user'

      def to_str
        "Username:      #{username}\n" +
        "Email:         #{email}"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pairzone-0.0.1 lib/pairzone/api/user.rb