Commit 4160a8dd authored by Stan Hu's avatar Stan Hu

Enable frozen_string_literal

parent ff3291e5
# frozen_string_literal: true
module BitbucketServer
class Client
attr_reader :connection
......
# frozen_string_literal: true
module BitbucketServer
class Collection < Enumerator
def initialize(paginator)
......
# frozen_string_literal: true
module BitbucketServer
class Connection
include ActionView::Helpers::SanitizeHelper
DEFAULT_API_VERSION = '1.0'.freeze
DEFAULT_API_VERSION = '1.0'
attr_reader :api_version, :base_uri, :username, :token
......
# frozen_string_literal: true
module BitbucketServer
class Page
attr_reader :attrs, :items
......
# frozen_string_literal: true
module BitbucketServer
class Paginator
PAGE_LENGTH = 25
......
# frozen_string_literal: true
module BitbucketServer
module Representation
class Activity < Representation::Base
......@@ -6,7 +8,7 @@ module BitbucketServer
end
def comment?
action == 'COMMENTED'.freeze
action == 'COMMENTED'
end
def inline_comment?
......
# frozen_string_literal: true
module BitbucketServer
module Representation
class Base
......
# frozen_string_literal: true
module BitbucketServer
module Representation
# A general comment with the structure:
......
# frozen_string_literal: true
module BitbucketServer
module Representation
class PullRequest < Representation::Base
......
# frozen_string_literal: true
module BitbucketServer
module Representation
# An inline comment with the following structure that identifies
......
# frozen_string_literal: true
module BitbucketServer
module Representation
class Repo < Representation::Base
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment