Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/upyun/form_base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class FormBase
)

attr_accessor :api_secret, :bucket, :password, :params
alias_method :api_secret, :password
alias_method :password, :api_secret
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mjason 抱歉看懂这里调整的目的是?另外 commit 信息不准确吧 from password -> form password ?


def initialize(api_secret:, bucket:, params: {})
@api_secret, @bucket, @params = api_secret, bucket, params
Expand Down